NavigationBarThemeData constructor Null safety

const NavigationBarThemeData(
  1. {double? height,
  2. Color? backgroundColor,
  3. Color? surfaceTintColor,
  4. double? elevation,
  5. Color? indicatorColor,
  6. ShapeBorder? indicatorShape,
  7. MaterialStateProperty<TextStyle?>? labelTextStyle,
  8. MaterialStateProperty<IconThemeData?>? iconTheme,
  9. NavigationDestinationLabelBehavior? labelBehavior}
)

Creates a theme that can be used for ThemeData.navigationBarTheme and NavigationBarTheme.

Implementation

const NavigationBarThemeData({
  this.height,
  this.backgroundColor,
  this.surfaceTintColor,
  this.elevation,
  this.indicatorColor,
  this.indicatorShape,
  this.labelTextStyle,
  this.iconTheme,
  this.labelBehavior,
});