Reputation: 98
I want to keep the AppBar static AppBar when navigating to a new screen. Something similar on this video where the green AppBar keeps static even when pushing a new screen.
I'm still very new in Flutter and would like to know what would be the best approach to achieve this behavior? Thanks!
Upvotes: 3
Views: 2753
Reputation: 858
You can use the Navigator
widget which let you create nested navigation in your main view (where the main navbar is).
Here is an example directly from Flutter website: https://flutter.dev/docs/cookbook/effects/nested-nav
Upvotes: 4