textStyle property

TextStyle? textStyle
final

Defines the default text style, with Material.textStyle, for the button's child.

If TextStyle.color is a WidgetStateProperty<Color>, WidgetStateProperty.resolve is used for the following WidgetStates:

Implementation

final TextStyle? textStyle;