StatusTone enum
Semantic tone for a StatusBadge. Maps to a paper-tinted background + ink/accent foreground in both light and dark themes — none of these values are hardcoded; they all resolve through DuTaToColors.
Values
- success → const StatusTone
-
"Healthy" — forest accent. Use for
ON TRACK,ACTIVE,PASSED. - warning → const StatusTone
-
"Heads-up" — sun accent. Use for
DUE SOON,EXPIRES SOON. - danger → const StatusTone
-
"Action required" — clay accent. Use for
OVERDUE,FAILED,BLOCKED. - info → const StatusTone
-
"Informational" — sky accent. Use for
IN REVIEW,INFO, neutral notification types. - neutral → const StatusTone
-
"Background" — paper2 fill, muted ink. Use for
DRAFT,MEMBER, role pills, anything that should not draw attention.
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<
StatusTone> - A constant List of the values in this enum, in order of their declaration.