ElevatedToggleButtonDefaults


Contains default values used by ElevatedToggleButton.

Summary

Public functions

ToggleButtonColors

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

Cmn
ToggleButtonColors
@Composable
elevatedToggleButtonColors(
    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 ElevatedToggleButton.

Cmn

Public functions

elevatedToggleButtonColors

@Composable
fun elevatedToggleButtonColors(): ToggleButtonColors

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

elevatedToggleButtonColors

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

the container color of this ElevatedToggleButton when enabled.

contentColor: Color = Color.Unspecified

the content color of this ElevatedToggleButton when enabled.

disabledContainerColor: Color = Color.Unspecified

the container color of this ElevatedToggleButton when not enabled.

disabledContentColor: Color = Color.Unspecified

the content color of this ElevatedToggleButton when not enabled.

checkedContainerColor: Color = Color.Unspecified

the container color of this ElevatedToggleButton when checked.

checkedContentColor: Color = Color.Unspecified

the content color of this ElevatedToggleButton when checked.