MaterialNavBarData constructor

MaterialNavBarData(
  1. {List<BottomNavigationBarItem>? items,
  2. Color? backgroundColor,
  3. double? iconSize,
  4. double? elevation,
  5. Color? fixedColor,
  6. Key? widgetKey,
  7. void itemChanged(
    1. int
    )?,
  8. int? currentIndex,
  9. double? height,
  10. BottomNavigationBarType? type,
  11. Key? bottomNavigationBarKey,
  12. NotchedShape? shape,
  13. Clip? clipBehavior,
  14. double? notchMargin,
  15. double? selectedFontSize,
  16. Color? selectedItemColor,
  17. bool? showSelectedLabels,
  18. bool? showUnselectedLabels,
  19. double? unselectedFontSize,
  20. Color? unselectedItemColor,
  21. IconThemeData? selectedIconTheme,
  22. TextStyle? selectedLabelStyle,
  23. IconThemeData? unselectedIconTheme,
  24. TextStyle? unselectedLabelStyle,
  25. MouseCursor? mouseCursor,
  26. bool? enableFeedback,
  27. BottomNavigationBarLandscapeLayout? landscapeLayout,
  28. bool useLegacyColorScheme = true,
  29. EdgeInsetsGeometry? padding,
  30. Color? surfaceTintColor,
  31. 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);