BaseBottomNavigationBar constructor
const
BaseBottomNavigationBar({
- Key? key,
- required List<
BottomNavigationBarItem> items, - required ValueChanged<
int> ? onTap, - int currentIndex = 0,
- bool enableLiquidGlass = true,
- double glassOpacity = 0.85,
- double reflectionIntensity = 0.6,
- bool adaptiveInteraction = true,
- bool hapticFeedback = true,
- BottomNavigationBarType? type,
- Color? backgroundColor,
- Color? selectedItemColor,
- Color? unselectedItemColor,
- double selectedFontSize = 14.0,
- double unselectedFontSize = 12.0,
- double iconSize = 24.0,
- double? elevation,
- bool showSelectedLabels = true,
- bool showUnselectedLabels = true,
- MouseCursor? mouseCursor,
- bool? enableFeedback,
- BottomNavigationBarLandscapeLayout? landscapeLayout,
- bool useLegacyColorScheme = false,
- Color? activeColor,
- Color? inactiveColor,
- Border? border,
- double height = 50.0,
- bool resizeToAvoidBottomInset = true,
- 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);