toggleIconButtonColors

@Composable
fun toggleIconButtonColors(checkedContainerColor: Color = Color.Unspecified, checkedContentColor: Color = Color.Unspecified, uncheckedContainerColor: Color = Color.Unspecified, uncheckedContentColor: Color = Color.Unspecified): ToggleButtonColors

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

Return

A ToggleButtonColors by given colors.

Parameters

checkedContainerColor

The Color apply to container background when ToggleButton is checked.

checkedContentColor

The Color apply to content when ToggleButton is checked.

uncheckedContainerColor

The Color apply to container background when ToggleButton is unchecked.

uncheckedContentColor

The Color apply to content when ToggleButton is unchecked.


Return

A new ToggleButtonColors object with the default colors.