iconToggleButtonColors

Creates a IconToggleButtonColors that represents the default colors used in a IconToggleButton.


@Composable
fun iconToggleButtonColors(containerColor: Color = Color.Unspecified, contentColor: Color = LocalContentColor.current, disabledContainerColor: Color = Color.Unspecified, disabledContentColor: Color = contentColor.copy(alpha = IconButtonTokens.DisabledIconOpacity), checkedContainerColor: Color = Color.Unspecified, checkedContentColor: Color = Color.Unspecified): IconToggleButtonColors

Creates a IconToggleButtonColors that represents the default colors used in a IconToggleButton.

Parameters

containerColor

the container color of this icon button when enabled.

contentColor

the content color of this icon button when enabled.

disabledContainerColor

the container color of this icon button when not enabled.

disabledContentColor

the content color of this icon button when not enabled.

checkedContainerColor

the container color of this icon button when checked.

checkedContentColor

the content color of this icon button when checked.