ToggleIconButtonDefaults

Holding ToggleIconButton default values.

Properties

Link copied to clipboard

A pre-defined size of ToggleIconButton

Link copied to clipboard

A pre-defined size of ToggleIconButton

Link copied to clipboard

A pre-defined size of ToggleIconButton

Link copied to clipboard

A pre-defined size of ToggleIconButton

Functions

Link copied to clipboard

@Composable
fun toggleIconButtonColors(checkedContainerColor: Color = Color.Unspecified, checkedContentColor: Color = Color.Unspecified, uncheckedContainerColor: Color = Color.Unspecified, uncheckedContentColor: Color = Color.Unspecified): ToggleButtonColors

The content color will effect both ToggleButton's leading and trailing icon and content

Link copied to clipboard
fun toggleIconButtonSize(width: Dp, height: Dp): ButtonSize

Creates a ButtonSize that presents sizes used by IconButton