SimpleColor enum
Constructors
- SimpleColor(int foreground, int background)
-
const
Values
- black → const SimpleColor
-
const SimpleColor(30, 40)
- red → const SimpleColor
-
const SimpleColor(31, 41)
- green → const SimpleColor
-
const SimpleColor(32, 42)
- yellow → const SimpleColor
-
const SimpleColor(33, 43)
- blue → const SimpleColor
-
const SimpleColor(34, 44)
- magenta → const SimpleColor
-
const SimpleColor(35, 45)
- cyan → const SimpleColor
-
const SimpleColor(36, 46)
- white → const SimpleColor
-
const SimpleColor(37, 47)
Properties
- background → int
-
final
- foreground → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- 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<
SimpleColor> - A constant List of the values in this enum, in order of their declaration.