Thumb

fun Thumb(interactionSource: MutableInteractionSource, modifier: Modifier = Modifier, colors: SliderColors = colors(), enabled: Boolean = true)(source)

Displays a slider thumb that grows when focused.

Parameters

interactionSource

the interaction source used to observe focus

modifier

the Modifier to be applied to the thumb

colors

the colors used for the thumb in enabled and disabled states

enabled

whether the slider is enabled