NavigationRailThemeData constructor Null safety

const NavigationRailThemeData(
  1. {Color? backgroundColor,
  2. double? elevation,
  3. TextStyle? unselectedLabelTextStyle,
  4. TextStyle? selectedLabelTextStyle,
  5. IconThemeData? unselectedIconTheme,
  6. IconThemeData? selectedIconTheme,
  7. double? groupAlignment,
  8. NavigationRailLabelType? labelType,
  9. bool? useIndicator,
  10. Color? indicatorColor,
  11. double? minWidth,
  12. double? minExtendedWidth}
)

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

Implementation

const NavigationRailThemeData({
  this.backgroundColor,
  this.elevation,
  this.unselectedLabelTextStyle,
  this.selectedLabelTextStyle,
  this.unselectedIconTheme,
  this.selectedIconTheme,
  this.groupAlignment,
  this.labelType,
  this.useIndicator,
  this.indicatorColor,
  this.minWidth,
  this.minExtendedWidth,
});