ToggleButtonSize


Represents the size of a ToggleButton and its variants.

Providing a different ToggleButtonSize will affect default internal layout configurations used by the button, such as container height, shapes, content padding, icon sizes, and icon spacing. Note that standard layout modifiers (such as androidx.compose.foundation.layout.size or androidx.compose.foundation.layout.heightIn) can still be applied to adjust overall container dimensions.

Summary

Public companion properties

ToggleButtonSize

Extra Large toggle button size.

Cmn
ToggleButtonSize

Extra Small toggle button size.

Cmn
ToggleButtonSize

Large toggle button size.

Cmn
ToggleButtonSize

Medium toggle button size.

Cmn
ToggleButtonSize

Small toggle button size.

Cmn

Public properties

Dp
Cmn

Public companion properties

ExtraLarge

val ExtraLarge: ToggleButtonSize

Extra Large toggle button size.

ExtraSmall

val ExtraSmall: ToggleButtonSize

Extra Small toggle button size.

Large

val Large: ToggleButtonSize

Large toggle button size.

Medium

val Medium: ToggleButtonSize

Medium toggle button size.

Small

val Small: ToggleButtonSize

Small toggle button size.

Public properties

height

val height: Dp