textColor property

Color? textColor
final

The color to use for this button's text.

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 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;