Source set: Common
public object ElevatedToggleButtonDefaults
Contains default values used by ElevatedToggleButton.
Functions
elevatedToggleButtonColors
Source set: Common
@Composable
public fun elevatedToggleButtonColors(): ToggleButtonColors
Creates a ToggleButtonColors that represents the default container and content colors used in a ElevatedToggleButton.
elevatedToggleButtonColors
Source set: Common
@Composable
public 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. |