SliderState
Class that holds information about Slider's active range.
Parameters
Float that indicates the initial position of the thumb. If outside of valueRange provided, value will be coerced to this range.
if positive, specifies the amount of discrete allowable values (in addition to the endpoints of the value range). Step values are evenly distributed across the range. If 0, the slider will behave continuously and allow any value from the range. Must not be negative.
lambda to be invoked when value change has ended. This callback shouldn't be used to update the range slider values (use onValueChange for that), but rather to know when the user has completed selecting a new value by ending a drag or a click.
range of values that Slider values can take. value will be coerced to this range.