textTheme property Null safety

ButtonTextTheme textTheme
final

Defines a button's base colors, and the defaults for the button's minimum size, internal padding, and shape.

Despite the name, this property is not a TextTheme, its value is not a collection of TextStyles.

Implementation

final ButtonTextTheme textTheme;