ayham95 / Custom-navigator

A flutter package that handles navigation deep in the widget tree
MIT License
80 stars 33 forks source link

How to navigate for entering 3 times or more deeper using bottom navigation bar where bottom navigation bar will be not hide #16

Open ShohidulProgrammer opened 4 years ago

ShohidulProgrammer commented 4 years ago

At first, I want to use pushNamed() router and also want to enter a very deeper page but, every screen will still have the bottom navigation bar. eg, from the home page I want to go to this sequence : homepage > ProductListPage > ProductDetailsPage Now, when I go to the next page the bottom navigation bar will be not removed

ayham95 commented 4 years ago

May i know what exactly is the problem??

rookiejj commented 4 years ago

oh... this helps, but I think this has bug. Where you are in first 'home' bottom tab. Move to detail page like example. And, move to one more deeper page with making detailSecondPage not like example. And then, tap other bottom menu like 'events'. At this moment, I can not open 'events' page. I see just first step detail page of 'home' tab.

Deval021 commented 4 years ago

At first, I want to use pushNamed() router and also want to enter a very deeper page but, every screen will still have the bottom navigation bar. eg, from the home page I want to go to this sequence : homepage > ProductListPage > ProductDetailsPage Now, when I go to the next page the bottom navigation bar will be not removed

The Screen in which you want to hide the bottom navigation bar use this " Navigator.of(context, rootNavigator: true).push( MaterialPageRoute(builder: (context) => ProductDetailsPage()), ); "

mahanabd commented 3 years ago

At first, I want to use pushNamed() router and also want to enter a very deeper page but, every screen will still have the bottom navigation bar. eg, from the home page I want to go to this sequence : homepage > ProductListPage > ProductDetailsPage Now, when I go to the next page the bottom navigation bar will be not removed

The Screen in which you want to hide the bottom navigation bar use this " Navigator.of(context, rootNavigator: true).push( MaterialPageRoute(builder: (context) => ProductDetailsPage()), ); "

this not the best solution .can everybody finds any solution to this problem?