AvatarStyle

AvatarStyle Enum class which represents the color scheme of the Avatar component.

When using AvatarVariant.Image, the AvatarStyle will only affect the background color of the component behind the image.

Entries

Link copied to clipboard

When non-static this will follow the Primary color scheme of black background with white foreground in light mode or grey background with black foreground in dark mode. When static it will always be black background with white foreground.

Link copied to clipboard

When non-static this will follow the Secondary color scheme of grey background with black foreground in light mode or dark grey background with white foreground in dark mode. When static it will always be light grey black background with white foreground.

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.