copy

@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.

Return

A new SwitchVibrants object with the given vibrants.

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.