SmartNavItem constructor

const SmartNavItem({
  1. required String iconPath,
  2. String? label,
  3. Widget? screen,
  4. Color? activeColor,
  5. Color? inactiveColor,
  6. double? iconSize,
  7. BadgeNavItem? badge,
})

Creates a SmartNavItem for the Smart Navigation Bar.

iconPath and label are required.

Implementation

const SmartNavItem({
  required this.iconPath,
  this.label,
  this.screen,
  this.activeColor,
  this.inactiveColor,
  this.iconSize,
  this.badge,
});