sliderColors

@Composable
fun sliderColors(): SliderColors

The default colors used for Slider


@Composable
fun sliderColors(trackColor: Color = Color.Unspecified, progressColor: Color = Color.Unspecified, progressHighColor: Color = Color.Unspecified, thumbColor: Color = Color.Unspecified, thumbHighColor: Color = Color.Unspecified, segmentDotColor: Color = Color.Unspecified, segmentDotHighColor: Color = Color.Unspecified): SliderColors

Creates a SliderColors object for sliders.

Return

A new SliderColors object with the default colors.

Parameters

trackColor

The color for the track.

progressColor

The color for the progress.

progressHighColor

The color for the progress when hovered.

thumbColor

The color for the thumb.

thumbHighColor

The color for the thumb when hovered.

segmentDotColor

The color for the segment dot.

segmentDotHighColor

The color for the segment dot when hovered.