Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: set currentIndex from route on Web Platform (#963)
* Add RouterServiceInterface to Stacked package * Add setCurrentWebPageIndex method to IndexTrackingViewModel * Update cupertino_icons on example apps * Sort routes to match BottomNavigation items order * Call setCurrentWebPageIndex on Class Constructor Allows to set the index of the Bottom Navigation Bar using the current route at Web Platform when app starts from scratch which means there is no state for the currentIndex property to track the selected button. * Fix format --------- Co-authored-by: Dane Mackier <dane.mackier@outlook.com>
- Loading branch information