@@ -14,7 +14,7 @@ Composables like **Icon**.
1414Sliders that can use Color or gradient for track, thumb, or tick colors with custom thumb and track
1515heights.
1616
17- ```
17+ ``` kotlin
1818@Composable
1919fun ColorfulSlider (
2020 value : Float ,
@@ -78,7 +78,7 @@ fun ColorfulSlider(
7878
7979Usage
8080
81- ```
81+ ``` kotlin
8282ColorfulSlider (
8383 value = progress2,
8484 thumbRadius = 10 .dp,
@@ -98,7 +98,7 @@ ColorfulSlider(
9898
9999` SliderBrushColor ` is a data class which can be used to set color or brush for any color property
100100
101- ```
101+ ``` kotlin
102102
103103/* *
104104 * Data class that contains color or/and brush property for drawing track section of
@@ -127,7 +127,7 @@ data class SliderBrushColor(
127127
128128Sliders that can move a label above the Slider and display progress
129129
130- ```
130+ ``` kotlin
131131fun SliderWithLabel (
132132 value : Float ,
133133 onValueChange : (Float ) -> Unit ,
@@ -150,7 +150,7 @@ fun SliderWithLabel(
150150
151151Usage
152152
153- ```
153+ ``` kotlin
154154SliderWithLabel (
155155 value = labelProgress,
156156 onValueChange = {
@@ -179,7 +179,7 @@ SliderWithLabel(
179179Sliders that can use any Composable for thumb and use Color or gradient for track, thumb, or tick
180180colors with custom thumb and track heights.
181181
182- ```
182+ ``` kotlin
183183fun ColorfulIconSlider (
184184 modifier : Modifier = Modifier ,
185185 value : Float ,
@@ -201,7 +201,7 @@ Usage
201201
202202Emojis are transparent by default in Compose, you might want to set non-transparent color for ` Text `
203203
204- ```
204+ ``` kotlin
205205ColorfulIconSlider (
206206 value = progress,
207207 onValueChange = { value, offset ->
@@ -220,7 +220,7 @@ ColorfulIconSlider(
220220
221221or
222222
223- ```
223+ ``` kotlin
224224ColorfulIconSlider (
225225 value = progress,
226226 onValueChange = { value, offset ->
0 commit comments