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

SliderColors Class

Modifiers: final
Represents the colors used by a null.SpatialSlider in different states

Constructors

SliderColors ( iconColor , activeTrackColor , inactiveTrackColor )
create an instance with arbitrary colors. See SliderDefaults.colors for the default implementation.
Signature
constructor(iconColor: Color, activeTrackColor: Color, inactiveTrackColor: Color)
Parameters
iconColor: Color
activeTrackColor: Color
inactiveTrackColor: Color

Properties

activeTrackColor : Color
[Get]
Signature
val activeTrackColor: Color
iconColor : Color
[Get]
Signature
val iconColor: Color
inactiveTrackColor : Color
[Get]
Signature
val inactiveTrackColor: Color

Functions

copy ( iconColor , activeTrackColor , inactiveTrackColor )
Returns a copy of this SliderColors, optionally overriding some of the values. This uses the Color.Unspecified to mean “use the value from the source”
Signature
fun copy(iconColor: Color, activeTrackColor: Color, inactiveTrackColor: Color): SliderColors
Parameters
iconColor: Color
activeTrackColor: Color
inactiveTrackColor: Color
equals ( other )
Signature
open operator override fun equals(other: Any?): Boolean
Parameters
other: Any?
Returns
Boolean
hashCode ()
Signature
open override fun hashCode(): Int
Returns
Int