Proyek
Lihat di GitHub
bizz84/nested-navigation-demo-flutter
Tentang
Navigasi bertingkat dengan BottomNavigationBar.
Pengembangan web dan aplikasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- -1
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliFlutter 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
Jelajahi proyek terkait
Memuat…