SliderColors

constructor(thumbColor: Color, activeTrackColor: Color, activeTickColor: Color, inactiveTrackColor: Color, inactiveTickColor: Color, disabledThumbColor: Color, disabledActiveTrackColor: Color, disabledActiveTickColor: Color, disabledInactiveTrackColor: Color, disabledInactiveTickColor: Color)

create an instance with arbitrary colors. See SliderDefaults.colors for the default implementation that follows Material specifications.

Parameters

thumbColor

thumb color when enabled

activeTrackColor

color of the track in the part that is "active", meaning that the thumb is ahead of it

activeTickColor

colors to be used to draw tick marks on the active track, if steps is specified

inactiveTrackColor

color of the track in the part that is "inactive", meaning that the thumb is before it

inactiveTickColor

colors to be used to draw tick marks on the inactive track, if steps are specified on the Slider is specified

disabledThumbColor

thumb colors when disabled

disabledActiveTrackColor

color of the track in the "active" part when the Slider is disabled

disabledActiveTickColor

colors to be used to draw tick marks on the active track when Slider is disabled and when steps are specified on it

disabledInactiveTrackColor

color of the track in the "inactive" part when the Slider is disabled

disabledInactiveTickColor

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