VerticalSlider
Vertical Sliders allow users to make selections from a range of values.
Vertical Sliders reflect a range of values along a vertical bar, from which users may select a single value. They are ideal for adjusting settings such as volume, brightness, or applying image filters.
Vertical Slider:
Parameters
SliderState which contains the slider's current value.
the Modifier to be applied to this slider
controls the enabled state of this slider. When false, this component will not respond to user input, and it will appear visually disabled and disabled to accessibility services.
controls the direction of this slider. Default is top to bottom.
SliderColors that will be used to resolve the colors used for this slider in different states. See SliderDefaults.colors.
the MutableInteractionSource representing the stream of Interactions for this slider. You can create and pass in your own remembered instance to observe Interactions and customize the appearance / behavior of this slider in different states.
the thumb to be displayed on the slider, it is placed on top of the track. The lambda receives a SliderState which is used to obtain the current active track.
the track to be displayed on the slider, it is placed underneath the thumb. The lambda receives a SliderState which is used to obtain the current active track.