BottomNavBarItem constructor

BottomNavBarItem({
  1. required Widget icon,
  2. required String text,
  3. required bool isCustom,
  4. Widget? activeIcon,
  5. bool isFloating = false,
  6. double? floatingMargin,
  7. bool? switchScreen = true,
  8. EnsembleAction? onTap,
  9. String? onTapHaptic,
})

Implementation

BottomNavBarItem({
  required this.icon,
  required this.text,
  required this.isCustom,
  this.activeIcon,
  this.isFloating = false,
  this.floatingMargin,
  this.switchScreen = true,
  this.onTap,
  this.onTapHaptic,
});