style property

ButtonStyle? style
final

Customizes this button's appearance.

The following style properties apply to the entire segmented button:

The following style properties are applied to each of the individual button segments. For properties that are a WidgetStateProperty, they will be resolved with the current state of the segment:

Implementation

final ButtonStyle? style;