BubbleNavItem constructor

const BubbleNavItem({
  1. Widget? page,
  2. Widget? icon,
  3. Widget? activeIcon,
  4. String? label,
  5. Widget? customWidget,
  6. NavigationActionCallback? onPress,
})

Implementation

const BubbleNavItem({
  this.page,
  this.icon,
  this.activeIcon,
  this.label,
  this.customWidget,
  this.onPress,
}) : assert(
       icon != null || customWidget != null,
       'Must provide an icon or customWidget',
     );