CardVariant

Styled variants for Card

Two different selection styles allow fine grained control of visual hierarchy. Regular and Simple. Regular provides a coloured background surface that provides a stronger visual contrast and creates a more contained expression. Simple provides a card without a background surface colour.

Entries

Link copied to clipboard

Card with a coloured background surface that provides a stronger visual contrast and creates a more contained expression

Link copied to clipboard

Card without a background surface colour. Only use this variant on neutral backgrounds

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
Link copied to clipboard

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.