style property

ButtonStyle? style
final

Overrides the SegmentedButton's default style.

Non-null properties or non-null resolved WidgetStateProperty values override the default values used by SegmentedButton.

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

If ButtonStyle.side is provided, WidgetStateProperty.resolve is used for the following WidgetStates:

Implementation

final ButtonStyle? style;