CustomBottomNavBar constructor

const CustomBottomNavBar({
  1. Key? key,
  2. required List<NavBarItem> items,
  3. required int currentIndex,
  4. required ValueChanged<int> onTap,
  5. Color? selectedItemColor,
  6. Color? unselectedItemColor,
  7. Color? backgroundColor,
  8. BottomNavigationBarType? type,
  9. TextStyle? selectedLabelStyle,
  10. TextStyle? unselectedLabelStyle,
  11. bool? showSelectedLabels,
  12. 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,
});