SwitchVibrants

@Immutable
class SwitchVibrants

Represents the vibrants used by a Switch in different states.

Parameters

trackVibrant

The Vibrant apply to track.

checkedThumbVibrant

The Vibrant apply to thumb when Switch is checked.

uncheckedThumbVibrant

The Vibrant apply to thumb when Switch is unchecked.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
@Stable
fun copy(trackVibrant: Vibrant = this.trackVibrant, checkedThumbVibrant: Vibrant = this.checkedThumbVibrant, uncheckedThumbVibrant: Vibrant = this.uncheckedThumbVibrant): SwitchVibrants

Creates a copy of this SwitchVibrants 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