CustomBottomBar constructor

const CustomBottomBar({
  1. Key? key,
  2. required List<BottomBarItem> items,
  3. required int currentIndex,
  4. required ValueChanged<int> onBottomTapped,
  5. bool showLabel = true,
  6. Color? backgroundColor,
  7. Color? selectedItemColor,
  8. Color? unselectedItemColor,
  9. double? fontSize,
  10. double? height,
  11. double? width,
  12. double? elevation,
})

Implementation

const CustomBottomBar({
  super.key,
  required this.items,
  required this.currentIndex,
  required this.onBottomTapped,
  this.showLabel = true,
  this.backgroundColor,
  this.selectedItemColor,
  this.unselectedItemColor,
  this.fontSize,
  this.height,
  this.width,
  this.elevation,
});