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>, WidgetStateProperty.resolve
is used for the following WidgetStates:
Implementation
//
/// This only has an effect on widgets that respect the [DefaultTextStyle],
/// such as [Text].
///
/// If [labelStyle.color] is a [MaterialStateProperty<Color>], [WidgetStateProperty.resolve]
/// is used for the following [WidgetState]s:
///
/// * [WidgetState.disabled].
/// * [WidgetState.selected].
/// * [WidgetState.hovered].
/// * [WidgetState.focused].
/// * [WidgetState.pressed].
final TextStyle? labelStyle;