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