StylishChipVariant

The visual role of a StylishChip.

Mirrors the Material 3 chip family: Assist for smart, contextual actions, Filter for filtering content (renders a checkmark when selected), Input for user-entered data, and Suggestion for suggested content.

See also

Entries

Link copied to clipboard

Assist chip: smart or automated action (e.g. "open calendar event").

Link copied to clipboard

Filter chip: marks selection with an animated checkmark when selected.

Link copied to clipboard

Input chip: user-entered data, typically with a close affordance.

Link copied to clipboard

Suggestion chip: recommended content such as a search suggestion.

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.