CustomBottomNavigation constructor

CustomBottomNavigation({
  1. bool? showSelectedLabels,
  2. bool? showUnselectedLabels,
  3. required int currentIndex,
  4. required ValueChanged<int> onTap,
  5. required int primaryIndex,
  6. Color? selectedItemColor,
  7. Color? unselectedItemColor,
  8. double? elevation,
  9. Color? fixedColor,
  10. Color? backgroundColor,
  11. double? iconSize,
  12. IconThemeData? selectedIconTheme,
  13. IconThemeData? unselectedIconTheme,
  14. double? selectedFontSize,
  15. double? unselectedFontSize,
  16. TextStyle? selectedLabelStyle,
  17. TextStyle? unselectedLabelStyle,
  18. required List<CustomBottomMenuItem> items,
  19. CustomBottomNavigationType? type,
  20. Key? key,
  21. 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);