IconToggleButtonColors
constructor(containerColor: Color, contentColor: Color, disabledContainerColor: Color, disabledContentColor: Color, checkedContainerColor: Color, checkedContentColor: Color)
create an instance with arbitrary colors.
See IconButtonDefaults.filledIconToggleButtonColors and IconButtonDefaults.filledTonalIconToggleButtonColors for the default colors used in a FilledIconButton.
See IconButtonDefaults.outlinedIconToggleButtonColors for the default colors used in a toggleable OutlinedIconButton.
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.