StylishButtonVariant

The visual style of a StylishButton.

Mirrors the Material 3 button family: Filled is the high-emphasis default, Tonal adds a tonal container, Outlined adds a hairline border on a transparent container, Text is a bare label with no container, and Elevated lifts the button with a floating shadow.

See also

Entries

Link copied to clipboard

High-emphasis button: grouped-container fill, hairline border, interactive elevation.

Link copied to clipboard

Medium-emphasis button: secondary-container fill, no border, no elevation.

Link copied to clipboard

Medium-emphasis button: transparent container with a hairline border.

Link copied to clipboard

Low-emphasis button: transparent container, no border, no elevation.

Link copied to clipboard

Medium-emphasis button: grouped-container fill with a floating shadow.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

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.