-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Bottom Navigation Bar on certain routes/pages #11
Comments
Hello)) I think, you don't need to remove it) Actually you could use the first level navigator, by using Navigator.of(context, rootNavigator: true); |
Hi, I'm facing the same problem and I don't understand your answer. I'm trying to create a full screen page ontop of the bottom nav bar. I tried Navigator.of(context).push(new route) but it doesn't work. |
Sorry, I've just updated my answer! So, what I mean by using first navigator: SplashScreen(no bottom navBar) -> MainScreen(with app bar); MainScreen screens: HomeScreen -> ProductScreen -> etc. ProfileScreen -> Navigator.of(context, rootNavigator: true); -> Login screen(no bottom navBar) Is that ok? More info: https://stackoverflow.com/a/55218112/10084055 |
Thanks!! Its working just by adding rootnavigator: true. |
This solution works only with 2 level navigation (root, custom). But I don't know how to access to the middle navigator for 3 or more level navigations(root, middle, custom). |
Hi! Thank you for the great plugin.
Is it possible to remove the bottom navigation on certain pages?
i.e. I want to open some fullscreen pages without the bottom navigation bar and return to pages with the bottom navigation bar once the fullscreen page finished (like Android's startActivityForResult).
Thank you!
The text was updated successfully, but these errors were encountered: