style property

ButtonStyle? style
final

The style to be applied to the button.

If style is an event driven DrivenButtonStyle, then DrivenButtonStyle.evaluate is used for the following ButtonEvents:

Implementation

final ButtonStyle? style;