File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,11 @@ fun MyComposable() {
81
81
WavySlider (
82
82
value = fraction,
83
83
onValueChange = { fraction = it },
84
- waveLength = 16 .dp, // Set this to 0.dp to get a regular Slider
85
- waveHeight = 16 .dp, // Set this to 0.dp to get a regular Slider
84
+ waveLength = 16 .dp, // Set this to 0.dp to make the Slider flat
85
+ waveHeight = 16 .dp, // Set this to 0.dp to make the Slider flat
86
86
waveVelocity = 15 .dp to HEAD , // Speed per second and its direction
87
- waveThickness = 4 .dp, // Defaults to the specified trackThickness
88
- trackThickness = 4 .dp, // Defaults to 4.dp, same as regular Slider
87
+ waveThickness = 4 .dp, // Defaults to values based on Material 2/3
88
+ trackThickness = 4 .dp, // Defaults to values based on Material 2/3
89
89
incremental = false , // Whether to gradually increase waveHeight
90
90
// animationSpecs = ... // Customize various animations of the wave
91
91
)
You can’t perform that action at this time.
0 commit comments