segmentedButtonSchemeColor property

SchemeColor? segmentedButtonSchemeColor
final

Defines which Theme based ColorScheme based color a selected SegmentedButton use as its background theme color.

Defines the background color for selected button, and it's onColor pair automatically defines the foreground for selected buttons.

If not defined it defaults to SchemeColor.secondaryContainer and foreground color becomes SchemeColor.onSecondaryContainer.

Implementation

final SchemeColor? segmentedButtonSchemeColor;