textColor property

Color textColor
final, inherited

The color to use for this button's text.

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

The default text color depends on the button theme's text theme, ButtonThemeData.textTheme.

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

See also:

Implementation

final Color textColor