sliderSpec

fun sliderSpec(thumbAreaSize: Dp = Dp.Unspecified, thumbSize: Dp = Dp.Unspecified, thumbPressedSize: Dp = Dp.Unspecified, thumbHoverSize: Dp = Dp.Unspecified, trackHeight: Dp = Dp.Unspecified, segmentDotSize: Dp = Dp.Unspecified): SliderSpec

Creates a default SliderSpec object for sliders.

Return

A new SliderSpec object with the default values.

Parameters

thumbAreaSize

The size of the thumb area.

thumbSize

The size of the thumb.

thumbPressedSize

The size of the thumb when pressed.

thumbHoverSize

The size of the thumb when hovered.

trackHeight

The height of the track.

segmentDotSize

The size of the segment dot.