I currently have a MaterialApp
in my flutter application which makes the use of the Navigator
extremely easy, which is great. But, I'm now trying to figure out how to create more navigators for particular views/widgets. For example I've got a custom tab bar with another widget/view in. I'd now like that widget/view to have it's own navigation stack. So the goal is to keep the tab bar at the top while I navigate to other pages from within my widget/view.
This question is almost exactly this: Permanent view with navigation bar in Flutter but in that code, there is no MaterialApp
yet. Nesting MaterialApp
s give funky results and I don't believe that that would be a solution.
Any ideas?