textStyle property

TextStyle textStyle
final

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

If textStyle.color is a MaterialStateProperty<Color>, MaterialStateProperty.resolve is used for the following MaterialStates:

Implementation

final TextStyle textStyle