MaterialNavBarData constructor Null safety

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. BottomNavigationBarType? type,
  10. Key? bottomNavigationBarKey,
  11. NotchedShape? shape,
  12. Clip? clipBehavior,
  13. double? notchMargin,
  14. double? selectedFontSize,
  15. Color? selectedItemColor,
  16. bool? showSelectedLabels,
  17. bool? showUnselectedLabels,
  18. double? unselectedFontSize,
  19. Color? unselectedItemColor,
  20. IconThemeData? selectedIconTheme,
  21. TextStyle? selectedLabelStyle,
  22. IconThemeData? unselectedIconTheme,
  23. TextStyle? unselectedLabelStyle,
  24. MouseCursor? mouseCursor,
  25. bool? enableFeedback}
)

Implementation

MaterialNavBarData({
  List<BottomNavigationBarItem>? items,
  Color? backgroundColor,
  double? iconSize,
  this.elevation,
  Color? fixedColor,
  Key? widgetKey,
  void Function(int)? itemChanged,
  int? currentIndex,
  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,
}) : super(
          widgetKey: widgetKey,
          items: items,
          backgroundColor: backgroundColor,
          iconSize: iconSize,
          activeColor: fixedColor,
          currentIndex: currentIndex,
          itemChanged: itemChanged);