Source set: Common
public object FilledTonalToggleButtonDefaults
Contains default values used by FilledTonalToggleButton.
Functions
filledTonalToggleButtonColors
Source set: Common
@Composable
public fun filledTonalToggleButtonColors(): ToggleButtonColors
Creates a ToggleButtonColors that represents the default container and content colors used in a FilledTonalToggleButton.
filledTonalToggleButtonColors
Source set: Common
@Composable
public fun filledTonalToggleButtonColors(
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 FilledTonalToggleButton.
Parameters
| containerColor | the container color of this FilledTonalToggleButton when enabled. |
| contentColor | the content color of this FilledTonalToggleButton when enabled. |
| disabledContainerColor | the container color of this FilledTonalToggleButton when not enabled. |
| disabledContentColor | the content color of this FilledTonalToggleButton when not enabled. |
| checkedContainerColor | the container color of this FilledTonalToggleButton when checked. |
| checkedContentColor | the content color of this FilledTonalToggleButton when checked. |