style property Null safety

ButtonStyle? style
final

Overrides for TextButton's default style.

Non-null properties or non-null resolved MaterialStateProperty values override the ButtonStyle returned by TextButton.defaultStyleOf.

If style is null, then this theme doesn't override anything.

Implementation

final ButtonStyle? style;