VooMultiSwitcherNavItem constructor

const VooMultiSwitcherNavItem({
  1. Key? key,
  2. required VooMultiSwitcherConfig config,
  3. bool isSelected = false,
  4. bool isCompact = true,
  5. double avatarSize = 24,
  6. bool enableHapticFeedback = true,
  7. VoidCallback? onTap,
  8. VoidCallback? onLongPress,
  9. bool useFloatingStyle = true,
})

Implementation

const VooMultiSwitcherNavItem({
  super.key,
  required this.config,
  this.isSelected = false,
  this.isCompact = true,
  this.avatarSize = 24,
  this.enableHapticFeedback = true,
  this.onTap,
  this.onLongPress,
  this.useFloatingStyle = true,
});