BadgeColor enum
Color variants for Badge component matching Alter Design System.
Values
- gray → const BadgeColor
-
Gray color variant.
- white → const BadgeColor
-
White surface color variant.
- red → const BadgeColor
-
Red color variant.
- orange → const BadgeColor
-
Orange color variant.
- yellow → const BadgeColor
-
Yellow color variant.
- green → const BadgeColor
-
Green color variant.
- teal → const BadgeColor
-
Teal color variant.
- indigo → const BadgeColor
-
Indigo color variant.
- purple → const BadgeColor
-
Purple color variant.
- pink → const BadgeColor
-
Pink color variant.
- amber → const BadgeColor
-
Amber color variant.
- lime → const BadgeColor
-
Lime color variant.
- emerald → const BadgeColor
-
Emerald color variant.
- cyan → const BadgeColor
-
Cyan color variant.
- sky → const BadgeColor
-
Sky blue color variant.
- brand → const BadgeColor
-
Brand blue color variant.
- slate → const BadgeColor
-
Slate color variant.
- zinc → const BadgeColor
-
Zinc color variant.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
BadgeColor> - A constant List of the values in this enum, in order of their declaration.