SliderDefaults

Types

Link copied to clipboard

The type of haptic feedback to be used for the slider.

Properties

Link copied to clipboard
Link copied to clipboard

The radius of the key points on the Slider and RangeSlider.

Link copied to clipboard

The minimum height of the Slider and RangeSlider.

Functions

Link copied to clipboard
fun sliderColors(foregroundColor: Color = MiuixTheme.colorScheme.primary, disabledForegroundColor: Color = MiuixTheme.colorScheme.disabledPrimarySlider, backgroundColor: Color = MiuixTheme.colorScheme.sliderBackground, disabledBackgroundColor: Color = MiuixTheme.colorScheme.disabledSecondary, thumbColor: Color = MiuixTheme.colorScheme.onPrimary, disabledThumbColor: Color = MiuixTheme.colorScheme.disabledOnPrimary, keyPointColor: Color = MiuixTheme.colorScheme.sliderKeyPoint, keyPointForegroundColor: Color = MiuixTheme.colorScheme.sliderKeyPointForeground): SliderColors