BottomTabBarItem constructor

const BottomTabBarItem({
  1. Widget? title,
  2. required Widget icon,
  3. Widget? activeIcon,
  4. TextStyle? selectedTextStyle,
  5. TextStyle? unSelectedTextStyle,
  6. Color? backgroundColor,
  7. Widget? badge,
  8. String? badgeNo,
  9. int maxBadgeNo = 99,
})

Implementation

const BottomTabBarItem({
  this.title,
  required this.icon,
  Widget? activeIcon,
  this.selectedTextStyle,
  this.unSelectedTextStyle,
  this.backgroundColor,
  this.badge,
  this.badgeNo,
  this.maxBadgeNo = 99,
}) : activeIcon = activeIcon ?? icon;