style property

ButtonStyle? style
final

Many of the ButtonStyle properties are MaterialStateProperty objects which resolve to different values depending on the button's state.

Implementation

final ButtonStyle? style;