UIBottomNavigationBar constructor
const
UIBottomNavigationBar({
- Key? key,
- String? indexID,
- required List<
UIBottomNavigationBarItem> items, - Widget? top,
- int initialIndex = 0,
- bool disableOnTapWhenInitialIndex = true,
- double elevation = 8.0,
- Widget? bottom,
- BottomNavigationBarType type = BottomNavigationBarType.fixed,
- Color? fixedColor,
- Color? backgroundColor,
- double iconSize = 24.0,
- Color? selectedItemColor,
- Color? unselectedItemColor,
- IconThemeData selectedIconTheme = const IconThemeData(),
- IconThemeData unselectedIconTheme = const IconThemeData(),
- double selectedFontSize = 14.0,
- double unselectedFontSize = 12.0,
- TextStyle? selectedLabelStyle,
- TextStyle? unselectedLabelStyle,
- bool showSelectedLabels = true,
- bool? showUnselectedLabels,
- NavigatorController? controller,
Wrapper for BottomNavigationBar.
Implementation
const UIBottomNavigationBar({
Key? key,
this.indexID,
required this.items,
this.top,
this.initialIndex = 0,
this.disableOnTapWhenInitialIndex = true,
this.elevation = 8.0,
this.bottom,
this.type = BottomNavigationBarType.fixed,
this.fixedColor,
// this.routeObserver,
this.backgroundColor,
this.iconSize = 24.0,
this.selectedItemColor,
this.unselectedItemColor,
this.selectedIconTheme = const IconThemeData(),
this.unselectedIconTheme = const IconThemeData(),
this.selectedFontSize = 14.0,
this.unselectedFontSize = 12.0,
this.selectedLabelStyle,
this.unselectedLabelStyle,
this.showSelectedLabels = true,
this.showUnselectedLabels,
this.controller,
}) : super(key: key);