toggleButtonsSchemeColor property

SchemeColor? toggleButtonsSchemeColor
final

Defines which Theme based ColorScheme based color the ToggleButtons use as its base theme color.

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

If unselectedSchemeColor is not defined, baseSchemeColor is also used as foreground color for unselected buttons.

If toggleButtonsBorderSchemeColor is not defined, then in M2 it is also used as color base for the border color, in M3 an undefined toggleButtonsBorderSchemeColor results in ColorScheme.outline color being used.

If not defined it defaults to SchemeColor.primary.

Implementation

final SchemeColor? toggleButtonsSchemeColor;