BottomNavigationBarThemeData constructor Null safety

const BottomNavigationBarThemeData(
  1. {Color? backgroundColor,
  2. double? elevation,
  3. IconThemeData? selectedIconTheme,
  4. IconThemeData? unselectedIconTheme,
  5. Color? selectedItemColor,
  6. Color? unselectedItemColor,
  7. TextStyle? selectedLabelStyle,
  8. TextStyle? unselectedLabelStyle,
  9. bool? showSelectedLabels,
  10. bool? showUnselectedLabels,
  11. BottomNavigationBarType? type,
  12. bool? enableFeedback,
  13. BottomNavigationBarLandscapeLayout? landscapeLayout,
  14. MaterialStateProperty<MouseCursor?>? mouseCursor}
)

Creates a theme that can be used for ThemeData.bottomNavigationBarTheme.

Implementation

const BottomNavigationBarThemeData({
  this.backgroundColor,
  this.elevation,
  this.selectedIconTheme,
  this.unselectedIconTheme,
  this.selectedItemColor,
  this.unselectedItemColor,
  this.selectedLabelStyle,
  this.unselectedLabelStyle,
  this.showSelectedLabels,
  this.showUnselectedLabels,
  this.type,
  this.enableFeedback,
  this.landscapeLayout,
  this.mouseCursor,
});