Track

fun Track(sliderState: SliderState, modifier: Modifier = Modifier, colors: SliderColors = colors(), enabled: Boolean = true)(source)

Displays a slider track with active and inactive sections.

Parameters

sliderState

the state used to determine the active track length

modifier

the Modifier to be applied to the track

colors

the colors used for the track in enabled and disabled states

enabled

whether the slider is enabled