NmTone enum

Semantic color role for pills, marks, notices and cells.

Inheritance
Available extensions

Values

neutral → const NmTone

Default text color.

brand → const NmTone

Accent.

success → const NmTone

Positive.

warning → const NmTone

Needs attention.

danger → const NmTone

Error or destructive.

muted → const NmTone

Secondary, de-emphasized.

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

fill(NmColors c) → Color

Available on NmTone, provided by the NmToneColors extension

Fill for dots, bars and strong marks.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
text(NmColors c) → Color

Available on NmTone, provided by the NmToneColors extension

Foreground (text / icon) color, readable on the surface.
tint(NmColors c) → Color

Available on NmTone, provided by the NmToneColors extension

Soft background tint behind text.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<NmTone>
A constant List of the values in this enum, in order of their declaration.