Proyectos
Ver en GitHub
bizz84/nested-navigation-demo-flutter
Acerca de
Navegación anidada con BottomNavigationBar.
Desarrollo web y de aplicacionesCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalFlutter BottomNavigationBar with Multiple Navigators
This is the source code for my article:
Preview

In this example each tab has its own navigation stack. This is so that we don’t lose the navigation history when switching tabs.
This is a very common use case for a lot of apps.
How is it built?
- Create an app with a
Scaffoldand aBottomNavigationBar. - In the
Scaffoldbody, create aStackwith one child for each tab. - Each child is an
Offstagewidget with a childNavigator. - Don't forget to handle Android back navigation with
WillPopScope.
Read the full story on my article:
Credits
- Brian Egan: for suggesting to use
Stack+Offstage&Navigatorwidgets.
License: MIT
Explorar proyectos relacionados
Cargando…