BottomBarItem constructor

BottomBarItem({
  1. required Widget icon,
  2. required Widget? title,
  3. Widget? selectedIcon,
  4. Color? backgroundColor,
  5. Color unSelectedColor = Colors.grey,
  6. Color selectedColor = Colors.green,
  7. Widget? badge,
  8. Color badgeColor = Colors.grey,
  9. bool showBadge = false,
  10. EdgeInsets? badgePadding,
  11. Color borderColor = Colors.black,
})

Implementation

BottomBarItem({
  required this.icon,
  required this.title,
  this.selectedIcon,
  this.backgroundColor,
  this.unSelectedColor = Colors.grey,
  this.selectedColor = Colors.green,
  //badge
  this.badge,
  this.badgeColor = Colors.grey,
  this.showBadge = false,
  this.badgePadding,
  this.borderColor = Colors.black,
});