style property Null safety

ButtonStyle? style
final

Customizes this button's appearance.

Non-null properties of this style override the corresponding properties in themeStyleOf and defaultStyleOf. MaterialStatePropertys that resolve to non-null values will similarly override the corresponding MaterialStatePropertys in themeStyleOf and defaultStyleOf.

Null by default.

Implementation

final ButtonStyle? style;