We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dda459 commit 494d0eaCopy full SHA for 494d0ea
slider/src/main/java/io/monstarlab/mosaic/slider/SliderState.kt
@@ -164,6 +164,16 @@ public class SliderState(
164
}
165
166
167
+/**
168
+ * Creates a [SliderState] that holds the state of a slider
169
+ * @param value the initial value of the slider
170
+ * @param range the range of the slider
171
+ * @param valueDistribution the distribution of the slider values
172
+ * @param disabledRange the range of the slider that is disabled
173
+ *
174
+ * @return a [SliderState] that holds the state of a slider
175
+
176
+ */
177
@Composable
178
public fun rememberSliderState(
179
value: Float,
0 commit comments