Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keep the AppBar static when Navigating to a new screen

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.

sample video

I'm still very new in Flutter and would like to know what would be the best approach to achieve this behavior? Thanks!

like image 231
Rangel Terraquio Avatar asked Dec 17 '25 14:12

Rangel Terraquio


1 Answers

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

like image 126
iStornZ Avatar answered Dec 20 '25 07:12

iStornZ



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!