CodeNestBottomNav constructor

const CodeNestBottomNav({
  1. Key? key,
  2. required int currentIndex,
  3. required ValueChanged<int> onTap,
  4. required List<BottomNavigationBarItem> items,
  5. Color? selectedItemColor,
  6. Color? unselectedItemColor,
  7. Color? backgroundColor,
  8. bool showLabels = true,
  9. BottomNavigationBarType type = BottomNavigationBarType.fixed,
  10. TextStyle? selectedLabelStyle,
  11. TextStyle? unselectedLabelStyle,
  12. double? selectedFontSize,
  13. double? unselectedFontSize,
  14. bool enableFeedback = true,
})

Implementation

const CodeNestBottomNav({
  super.key,
  required this.currentIndex,
  required this.onTap,
  required this.items,
  this.selectedItemColor,
  this.unselectedItemColor,
  this.backgroundColor,
  this.showLabels = true,
  this.type = BottomNavigationBarType.fixed,
  this.selectedLabelStyle,
  this.unselectedLabelStyle,
  this.selectedFontSize,
  this.unselectedFontSize,
  this.enableFeedback = true,
});