BottomTabBarItem constructor
BottomTabBarItem({})
Creates an item that is used with BottomTabBar.items.
The argument icon should not be null and the argument title should not be null when used in a Material Design's BottomTabBar.
Implementation
BottomTabBarItem({
@required this.icon,
this.title,
Widget? activeIcon,
this.backgroundColor,
this.badge,
this.badgeNo,
}) : activeIcon = activeIcon ?? icon,
assert(icon != null);