FilledTonalToggleButtonDefaults


Contains default values used by FilledTonalToggleButton.

Summary

Public functions

ToggleButtonColors

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

Cmn
ToggleButtonColors
@Composable
filledTonalToggleButtonColors(
    containerColor: Color,
    contentColor: Color,
    disabledContainerColor: Color,
    disabledContentColor: Color,
    checkedContainerColor: Color,
    checkedContentColor: Color
)

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

Cmn

Public functions

filledTonalToggleButtonColors

@Composable
fun filledTonalToggleButtonColors(): ToggleButtonColors

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

filledTonalToggleButtonColors

@Composable
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: Color = Color.Unspecified

the container color of this FilledTonalToggleButton when enabled.

contentColor: Color = Color.Unspecified

the content color of this FilledTonalToggleButton when enabled.

disabledContainerColor: Color = Color.Unspecified

the container color of this FilledTonalToggleButton when not enabled.

disabledContentColor: Color = Color.Unspecified

the content color of this FilledTonalToggleButton when not enabled.

checkedContainerColor: Color = Color.Unspecified

the container color of this FilledTonalToggleButton when checked.

checkedContentColor: Color = Color.Unspecified

the content color of this FilledTonalToggleButton when checked.