CustomBottomNavBar constructor
const
CustomBottomNavBar({
- Key? key,
- required List<
NavBarItem> items, - required int currentIndex,
- required ValueChanged<
int> onTap, - Color? selectedItemColor,
- Color? unselectedItemColor,
- Color? backgroundColor,
- BottomNavigationBarType? type,
- TextStyle? selectedLabelStyle,
- TextStyle? unselectedLabelStyle,
- bool? showSelectedLabels,
- bool? showUnselectedLabels,
Implementation
const CustomBottomNavBar({
super.key,
required this.items,
required this.currentIndex,
required this.onTap,
this.selectedItemColor,
this.unselectedItemColor,
this.backgroundColor,
this.type,
this.selectedLabelStyle,
this.unselectedLabelStyle,
this.showSelectedLabels,
this.showUnselectedLabels,
});