toggleIconButtonVibrants

@Composable
fun toggleIconButtonVibrants(checkedContainerVibrant: Vibrant = Vibrant.Unspecified, checkedContentVibrant: Vibrant = Vibrant.Unspecified, uncheckedContainerVibrant: Vibrant = Vibrant.Unspecified, uncheckedContentVibrant: Vibrant = Vibrant.Unspecified): ToggleButtonVibrants

The content vibrant will effect both ToggleButton's leading and trailing icon and content

Return

A ToggleButtonVibrants by given vibrants.

Parameters

checkedContainerVibrant

The Vibrant apply to container background when ToggleButton is checked.

checkedContentVibrant

The Vibrant apply to content when ToggleButton is checked.

uncheckedContainerVibrant

The Vibrant apply to container background when ToggleButton is unchecked.

uncheckedContentVibrant

The Vibrant apply to content when ToggleButton is unchecked.


Return

A new ToggleButtonVibrants object with the default vibrants.