textStyle property

MaterialStateProperty<TextStyle> textStyle
final

The style for a button's Text widget descendants.

The color of the textStyle is typically not used directly, the foregroundColor is used instead.

Implementation

final MaterialStateProperty textStyle