textStyle property Null safety

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