FilledStacks / FilledStacks/flutter-tutorials
Implement Bottom Nav Bar using Stacked and Navigation Service
- Vorherrschende Sprache
- Dart
- Sterne
- 4.8k
- Forks
- 1.7k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
We were working on custom bottom navigation bar using `GestureDetector` to navigate through different states. But it's increasing the Firebase Reads every the screen is built. With your recent update where `IndexTrackingViewModel` is included, we want to understand how to implement with a multi-route App and NavigationService.
In our scenario we have Splash Screen Navigates to HomeScreen. Bottom Navigation is visible in three screens, each of the following screen uses a custom stateless class `CustomBottomNavigation` which returns `BottomNavigationBar`.
1. HomeScreen with Multi Widgets and Navigation Text Links
2. FirebaseList Screen with Sliver List (OnTap of List Item) Firebase List Item Detail Screen.
3. User Screen with Sliver List (OnTap of List Item) Firebase List Item Detail Screen.
Right now the navigation is controlled using `Router` as explained in your tutorial.
Do we have to extend `IndexTrackingViewModel` to each of the above three viewmodels which are currently extending `BaseModel`?
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.