copy

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

Parameters

checkedThumbColor

the color used for the thumb when enabled and checked

checkedTrackColor

the color used for the track when enabled and checked

checkedTrackShadowColor

the color used for the shadow when checked

uncheckedThumbColor

the color used for the thumb when enabled and unchecked

uncheckedTrackColor

the color used for the track when enabled and unchecked

uncheckedTrackShadowColor

the color used for the shadow when unchecked