elevatedToggleButtonColors

Creates a ToggleButtonColors that represents the default container and content colors used in a ElevatedToggleButton.


@Composable
fun elevatedToggleButtonColors(containerColor: Color = Color.Unspecified, contentColor: Color = Color.Unspecified, disabledContainerColor: Color = Color.Unspecified, disabledContentColor: Color = Color.Unspecified, checkedContainerColor: Color = Color.Unspecified, checkedContentColor: Color = Color.Unspecified): ToggleButtonColors

Creates a ToggleButtonColors that represents the default container and content colors used in a ElevatedToggleButton.

Parameters

containerColor

the container color of this ElevatedToggleButton when enabled.

contentColor

the content color of this ElevatedToggleButton when enabled.

disabledContainerColor

the container color of this ElevatedToggleButton when not enabled.

disabledContentColor

the content color of this ElevatedToggleButton when not enabled.

checkedContainerColor

the container color of this ElevatedToggleButton when checked.

checkedContentColor

the content color of this ElevatedToggleButton when checked.