CustomBottomNavigation constructor
CustomBottomNavigation({
- bool? showSelectedLabels,
- bool? showUnselectedLabels,
- required int currentIndex,
- required ValueChanged<
int> onTap, - required int primaryIndex,
- Color? selectedItemColor,
- Color? unselectedItemColor,
- double? elevation,
- Color? fixedColor,
- Color? backgroundColor,
- double? iconSize,
- IconThemeData? selectedIconTheme,
- IconThemeData? unselectedIconTheme,
- double? selectedFontSize,
- double? unselectedFontSize,
- TextStyle? selectedLabelStyle,
- TextStyle? unselectedLabelStyle,
- required List<
CustomBottomMenuItem> items, - CustomBottomNavigationType? type,
- Key? key,
- Future<
bool> onScreenExit()?,
Implementation
CustomBottomNavigation(
{this.showSelectedLabels,
this.showUnselectedLabels,
required this.currentIndex,
required this.onTap,
required this.primaryIndex,
this.selectedItemColor,
this.unselectedItemColor,
this.elevation,
this.fixedColor,
this.backgroundColor,
this.iconSize,
this.selectedIconTheme,
this.unselectedIconTheme,
this.selectedFontSize,
this.unselectedFontSize,
this.selectedLabelStyle,
this.unselectedLabelStyle,
required this.items,
this.type,
this.key,
this.onScreenExit})
: super(key: key);