disabledTextColor property

Color? disabledTextColor
final

The color to use for this button's text when the button is disabled.

The button's Material.textStyle will be the current theme's button text style, TextTheme.labelLarge of ThemeData.textTheme, configured with this color.

The default value is the theme's disabled color, ThemeData.disabledColor.

If textColor is a WidgetStateProperty<Color>, disabledTextColor will be ignored.

See also:

  • textColor - The color to use for this button's text when the button is enabled.

Implementation

final Color? disabledTextColor;