BaseBottomNavigationBar constructor

const BaseBottomNavigationBar({
  1. Key? key,
  2. required List<BottomNavigationBarItem> items,
  3. required ValueChanged<int>? onTap,
  4. int currentIndex = 0,
  5. bool enableLiquidGlass = true,
  6. double glassOpacity = 0.85,
  7. double reflectionIntensity = 0.6,
  8. bool adaptiveInteraction = true,
  9. bool hapticFeedback = true,
  10. bool useMaterial3Navigation = true,
  11. BottomNavigationBarType? type,
  12. Color? backgroundColor,
  13. Color? selectedItemColor,
  14. Color? unselectedItemColor,
  15. double selectedFontSize = 14.0,
  16. double unselectedFontSize = 12.0,
  17. double iconSize = 24.0,
  18. double? elevation,
  19. bool showSelectedLabels = true,
  20. bool showUnselectedLabels = true,
  21. MouseCursor? mouseCursor,
  22. bool? enableFeedback,
  23. BottomNavigationBarLandscapeLayout? landscapeLayout,
  24. bool useLegacyColorScheme = false,
  25. Color? activeColor,
  26. Color? inactiveColor,
  27. Border? border,
  28. double height = 50.0,
  29. bool resizeToAvoidBottomInset = true,
  30. BaseParam? baseParam,
})

Implementation

const BaseBottomNavigationBar({
  Key? key,
  required this.items,
  required this.onTap,
  this.currentIndex = 0,

  // iOS 26 Liquid Glass Dynamic Material properties
  this.enableLiquidGlass = true,
  this.glassOpacity = 0.85,
  this.reflectionIntensity = 0.6,
  this.adaptiveInteraction = true,
  this.hapticFeedback = true,
  this.useMaterial3Navigation = true,

  // Navigation bar properties
  this.type,
  this.backgroundColor,
  this.selectedItemColor,
  this.unselectedItemColor,
  this.selectedFontSize = 14.0,
  this.unselectedFontSize = 12.0,
  this.iconSize = 24.0,
  this.elevation,
  this.showSelectedLabels = true,
  this.showUnselectedLabels = true,
  this.mouseCursor,
  this.enableFeedback,
  this.landscapeLayout,
  this.useLegacyColorScheme = false,
  // Cupertino specific
  this.activeColor,
  this.inactiveColor,
  this.border,
  this.height = 50.0,
  this.resizeToAvoidBottomInset = true,
  BaseParam? baseParam,
}) : super(key: key, baseParam: baseParam);