Rangel Terraquio
Rangel Terraquio

Reputation: 98

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!

Upvotes: 3

Views: 2753

Answers (1)

iStornZ
iStornZ

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

Related Questions