colors
Creates a SliderColors that represents the different colors used in parts of the Slider in different states.
Creates a SliderColors that represents the different colors used in parts of the Slider in different states.
For the name references below the words "active" and "inactive" are used. Active part of the slider is filled with progress, so if slider's progress is 30% out of 100%, left (or right in RTL) 30% of the track will be active, while the rest is inactive.
Parameters
thumb color when enabled
color of the track in the part that is "active", meaning that the thumb is ahead of it
colors to be used to draw tick marks on the active track, if steps
is specified
color of the track in the part that is "inactive", meaning that the thumb is before it
colors to be used to draw tick marks on the inactive track, if steps
are specified on the Slider is specified
thumb colors when disabled
color of the track in the "active" part when the Slider is disabled
colors to be used to draw tick marks on the active track when Slider is disabled and when steps
are specified on it
color of the track in the "inactive" part when the Slider is disabled
colors to be used to draw tick marks on the inactive part of the track when Slider is disabled and when steps
are specified on it