IndexedColor class final

A 256-color palette entry (0–255).

Inheritance

Constructors

IndexedColor(int index)
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
index → int
final
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
toRgb() → RgbColor
Resolves this color to concrete RGB using the standard xterm palette (so AnsiColor/IndexedColor can be lightened, darkened, or mixed).
override
toString() → String
A string representation of this object.
override

Operators

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