unselectedLabelTextStyle property Null safety

TextStyle? unselectedLabelTextStyle
final

The TextStyle of a destination's label when it is unselected.

When one of the destinations is selected the selectedLabelTextStyle will be used instead.

The default value is based on the Theme's TextTheme.bodyText1. The default color is based on the Theme's ColorScheme.onSurface.

Properties from this text style, or NavigationRailThemeData.unselectedLabelTextStyle if this is null, are merged into the defaults.

Implementation

final TextStyle? unselectedLabelTextStyle;