CodeNestBottomNav constructor
const
CodeNestBottomNav({
- Key? key,
- required int currentIndex,
- required ValueChanged<
int> onTap, - required List<
BottomNavigationBarItem> items, - Color? selectedItemColor,
- Color? unselectedItemColor,
- Color? backgroundColor,
- bool showLabels = true,
- BottomNavigationBarType type = BottomNavigationBarType.fixed,
- TextStyle? selectedLabelStyle,
- TextStyle? unselectedLabelStyle,
- double? selectedFontSize,
- double? unselectedFontSize,
- 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,
});