labelStyle property

TextStyle? labelStyle

The style to be applied to the chip's label.

If this is null and ThemeData.useMaterial3 is true, then TextTheme.labelLarge is used. Otherwise, TextTheme.bodyLarge is used. This only has an effect on widgets that respect the DefaultTextStyle, such as Text.

If TextStyle.color is a MaterialStateProperty<Color>, MaterialStateProperty.resolve is used for the following MaterialStates:

Implementation

//
/// This only has an effect on widgets that respect the [DefaultTextStyle],
/// such as [Text].
///
/// If [TextStyle.color] is a [MaterialStateProperty<Color>], [MaterialStateProperty.resolve]
/// is used for the following [MaterialState]s:
///
///  * [MaterialState.disabled].
///  * [MaterialState.selected].
///  * [MaterialState.hovered].
///  * [MaterialState.focused].
///  * [MaterialState.pressed].
TextStyle? get labelStyle;