NavigationRailThemeData constructor

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. ShapeBorder? indicatorShape,
  12. double? minWidth,
  13. 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.indicatorShape,
  this.minWidth,
  this.minExtendedWidth,
});