API reference

SliderDefaults Object

Object to hold defaults used by SpatialSlider

Signature

object SliderDefaults

Methods

colors ()
Creates a SliderColors that represents the different colors used in a SpatialSlider in different states.
Signature
fun colors(): SliderColors
Returns
SliderColors
colors ( iconColor , activeTrackColor , inactiveTrackColor )
Creates a SliderColors that represents the different colors used in a SpatialSlider in different states.
Signature
fun colors(iconColor: Color, activeTrackColor: Color, inactiveTrackColor: Color): SliderColors
Parameters
iconColor: Color
activeTrackColor: Color
inactiveTrackColor: Color
Returns
SliderColors