CustomNavigationBarItem constructor
CustomNavigationBarItem({})
Create a Custom Navigationbar Item.
the selectedIcon
must not be null.
Implementation
CustomNavigationBarItem(
{required this.icon,
Widget? selectedIcon,
this.title,
Text? selectedTitle,
this.badgeCount = 0,
this.showBadge = false})
: selectedIcon = selectedIcon ?? icon,
selectedTitle = selectedTitle ?? title;