labelStyle property
The style to be applied to the chip's label.
If null, the value of the ChipTheme's ChipThemeData.labelStyle is used. This only has an effect on widgets that respect the DefaultTextStyle, such as Text.
If labelStyle.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 [labelStyle.color] is a [MaterialStateProperty<Color>], [MaterialStateProperty.resolve]
/// is used for the following [MaterialState]s:
///
/// * [MaterialState.disabled].
/// * [MaterialState.selected].
/// * [MaterialState.hovered].
/// * [MaterialState.focused].
/// * [MaterialState.pressed].
final TextStyle? labelStyle;