ButtonMeasurements

The five Material 3 Expressive button size classes.

Each entry stands for one expressive container height. Everything else a button needs at that size (shape, content padding, icon size, icon spacing, and label typography) is derived from that height through the ButtonDefaults.*For(buttonHeight) helpers, so the toolkit never restates expressive metrics of its own.

A caller that wants one icon to stay a fixed size regardless of the entry passes an explicit iconSize to GeneralButton; that changes the glyph alone, never the container.

Small is the toolkit default because it is ButtonDefaults.MinHeight, which is the height GeneralButton rendered at before this size class existed.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard

Expressive container height for this size class.

Link copied to clipboard
Link copied to clipboard