SwitchColors

@Immutable
class SwitchColors

Represents the colors used by a Switch in different states

Functions

Link copied to clipboard
@Composable
fun copy(checkedThumbColor: Color = this.checkedThumbColor, checkedTrackColor: Color = this.checkedTrackColor, checkedTrackShadowColor: Color = this.checkedTrackShadowColor, uncheckedThumbColor: Color = this.uncheckedThumbColor, uncheckedTrackColor: Color = this.uncheckedTrackColor, uncheckedTrackShadowColor: Color = this.uncheckedTrackShadowColor): SwitchColors

Creates a copy of this SwitchColors with the given values replacing the non-null ones.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int