HsvSaturationSlider

fun HsvSaturationSlider(currentHue: Float, currentSaturation: Float, onSaturationChanged: (Float) -> Unit, hapticEffect: SliderDefaults.SliderHapticEffect = SliderDefaults.DefaultHapticEffect)

A HsvSaturationSlider component for selecting the saturation of a color.

Parameters

currentHue

The current hue value.

currentSaturation

The current saturation value.

onSaturationChanged

The callback to be called when the saturation changes.

hapticEffect

The haptic effect of the HsvSaturationSlider.