Skip to content
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

Open
mfenz opened this issue Apr 29, 2020 · 5 comments
Open

Remove Bottom Navigation Bar on certain routes/pages #11

mfenz opened this issue Apr 29, 2020 · 5 comments

Comments

@mfenz
Copy link

mfenz commented Apr 29, 2020

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!

@AtamyratBabayev
Copy link

AtamyratBabayev commented Aug 7, 2020

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);

@Ali-hd
Copy link

Ali-hd commented Sep 22, 2020

Hello))

I think, you don't need to remove it) Actually you could use the first level navigator, by using Navigator.of(context).push(..);

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.

@AtamyratBabayev
Copy link

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

@Ali-hd
Copy link

Ali-hd commented Sep 23, 2020

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.

@AtamyratBabayev
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants