SwitchColors
Represents the colors used by a Switch in different states
Parameters
the color used for the thumb when enabled and checked
the color used for the track when enabled and checked
the color used for the border when enabled and checked
the color used for the icon when enabled and checked
the color used for the thumb when enabled and unchecked
the color used for the track when enabled and unchecked
the color used for the border when enabled and unchecked
the color used for the icon when enabled and unchecked
the color used for the thumb when disabled and checked
the color used for the track when disabled and checked
the color used for the border when disabled and checked
the color used for the icon when disabled and checked
the color used for the thumb when disabled and unchecked
the color used for the track when disabled and unchecked
the color used for the border when disabled and unchecked
the color used for the icon when disabled and unchecked
Constructors
create an instance with arbitrary colors. See SwitchDefaults.colors for the default implementation that follows Material specifications.
Properties
Functions
Returns a copy of this SwitchColors, optionally overriding some of the values. This uses the Color.Unspecified to mean “use the value from the source”