MaterialNavBarData constructor
MaterialNavBarData({
- List<
BottomNavigationBarItem> ? items, - Color? backgroundColor,
- double? iconSize,
- double? elevation,
- Color? fixedColor,
- Key? widgetKey,
- void itemChanged()?,
- int? currentIndex,
- double? height,
- BottomNavigationBarType? type,
- NotchedShape? shape,
- Clip? clipBehavior,
- double? notchMargin,
- double? selectedFontSize,
- Color? selectedItemColor,
- bool? showSelectedLabels,
- bool? showUnselectedLabels,
- double? unselectedFontSize,
- Color? unselectedItemColor,
- IconThemeData? selectedIconTheme,
- TextStyle? selectedLabelStyle,
- IconThemeData? unselectedIconTheme,
- TextStyle? unselectedLabelStyle,
- MouseCursor? mouseCursor,
- bool? enableFeedback,
- BottomNavigationBarLandscapeLayout? landscapeLayout,
- bool useLegacyColorScheme = true,
- EdgeInsetsGeometry? padding,
- Color? surfaceTintColor,
- Color? shadowColor,
Implementation
MaterialNavBarData({
super.items,
super.backgroundColor,
super.iconSize,
this.elevation,
Color? fixedColor,
super.widgetKey,
super.itemChanged,
super.currentIndex,
super.height,
this.type,
this.bottomNavigationBarKey,
this.shape,
this.clipBehavior,
this.notchMargin,
this.selectedFontSize,
this.selectedItemColor,
this.showSelectedLabels,
this.showUnselectedLabels,
this.unselectedFontSize,
this.unselectedItemColor,
this.selectedIconTheme,
this.selectedLabelStyle,
this.unselectedIconTheme,
this.unselectedLabelStyle,
this.mouseCursor,
this.enableFeedback,
this.landscapeLayout,
this.useLegacyColorScheme = true,
this.padding,
this.surfaceTintColor,
this.shadowColor,
}) : super(activeColor: fixedColor);