Slider Defaults
object SliderDefaults
Properties
Link copied to clipboard
The default haptic effect of the Slider and RangeSlider.
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