unselectedLabelStyle property

TextStyle? unselectedLabelStyle
final

Default TabBar parameter

The text style of the unselected tab labels.

This does not influence color of the tab labels even if TextStyle.color is non-null. Refer unselectedLabelColor to color unselected tab labels instead.

If this property is 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;