API reference
API reference
Select your platform
No SDKs available
No versions available

SliderDefaults Object

Object to hold defaults used by .SpatialSlider

Signature

object SliderDefaults

Functions

colors ()
Creates a SliderColors that represents the different colors used in a .SpatialSlider in different states.
Signature
fun colors(): 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 = Color.Unspecified, activeTrackColor: Color = Color.Unspecified, inactiveTrackColor: Color = Color.Unspecified): SliderColors
Parameters
iconColor: Color
activeTrackColor: Color
inactiveTrackColor: Color
Did you find this page helpful?