BottomNavigator.custom constructor
const
BottomNavigator.custom({
- required Map<
BottomNavTabType, BottomNavigationRelationship> tabsMap, - required BottomNavTabType initialTab,
- required StreamController<
BottomNavTabType> ? selectController, - Key? key,
In this case bottom navigation bar will be custom, and BottomNavigationRelationship.navElementBuilder will not be called. Also outer selector should be given into custom bottom navigation bar bypass bottom navigator.
Implementation
const BottomNavigator.custom({
required this.tabsMap,
required this.initialTab,
required this.bottomNavBar,
required this.selectController,
Key? key,
}) : super(key: key);