textColor property
final
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.
See also:
- disabledTextColor, the text color to use when the button has been disabled.
Implementation
final Color textColor