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.