BartMaterialBottomBar constructor

BartMaterialBottomBar({
  1. required List<BartMenuRoute> routes,
  2. required BottonBarTapAction onTap,
  3. required int currentIndex,
  4. double? elevation,
  5. Color? bgColor,
  6. Color? selectedItemColor,
  7. Color? unselectedItemColor,
  8. BottomNavigationBarType? type,
  9. IconThemeData? iconThemeData,
  10. double selectedFontSize = 14.0,
  11. double unselectedFontSize = 12.0,
  12. double iconSize = 24,
})

Implementation

BartMaterialBottomBar({
  required this.routes,
  required this.onTap,
  required this.currentIndex,
  this.elevation,
  this.bgColor,
  this.selectedItemColor,
  this.unselectedItemColor,
  this.type,
  this.iconThemeData,
  this.selectedFontSize = 14.0,
  this.unselectedFontSize = 12.0,
  this.iconSize = 24,
});