Stylish Range Slider
A range slider for selecting both endpoints of a value range, wrapping the Material 3 RangeSlider with Stylish defaults.
Use this when the user must pick an interval (e.g. a price band or a time window). For a single value prefer StylishSlider.
Parameters
Current start..end selection of the range slider. Both endpoints are coerced to valueRange if outside of it.
Called with the new start..end range while the user drags either thumb.
Modifier applied to the RangeSlider root. The root carries the default test tag stylish_rangeslider for UI tests; callers can override it by passing their own Modifier.testTag(...) here.
When false, the range slider ignores pointer input and renders in the disabled color scheme.
Range of values the slider can take. Defaults to 0f..1f.
If positive, the number of discrete steps between the endpoints of valueRange. 0 makes the slider continuous.
Called when the user completes a drag or tap. Use this for expensive operations; update the value in onValueChange.
SliderColors for each state. Defaults to a primary thumb and active track with a MaterialTheme.colorScheme.surfaceVariant inactive track.
Optional hoisted MutableInteractionSource for observing interactions with the range slider. When null, an internal instance is remembered. Note that a single source is shared by both thumbs.