switchVibrants

@Composable
fun switchVibrants(): SwitchVibrants

Creates a SwitchVibrants instance with the default vibrants.


@Composable
fun switchVibrants(trackVibrant: Vibrant = Vibrant.Unspecified, checkedThumbVibrant: Vibrant = Vibrant.Unspecified, uncheckedThumbVibrant: Vibrant = Vibrant.Unspecified): SwitchVibrants

Creates a SwitchVibrants instance with the default vibrants.

Parameters

trackVibrant

the vibrant used for the track

checkedThumbVibrant

the vibrant used for the thumb when checked

uncheckedThumbVibrant

the vibrant used for the thumb when unchecked