unselectedLabelStyle property

TextStyle? unselectedLabelStyle
final

The text style of the unselected tab labels.

The color specified in unselectedLabelStyle and TabBarTheme.unselectedLabelStyle is used to style the label when unselectedLabelColor or TabBarTheme.unselectedLabelColor are not specified.

If this property is null, then TabBarTheme.unselectedLabelStyle will be used.

If that is also null and ThemeData.useMaterial3 is true, TextTheme.titleSmall will be used, otherwise then the labelStyle value is used. If labelStyle is null, the text style of the ThemeData.primaryTextTheme's TextTheme.bodyLarge definition is used.

Implementation

final TextStyle? unselectedLabelStyle;