Color class

Constructors

Color(String _color)
With 1.16 you can also use any rgb color now:
const

Properties

hashCode int
The hash code for this object.
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.
override

Operators

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

Static Methods

fromInt(int color) Color
fromRGB(int r, int g, int b) Color

Constants

Aqua → const Color
Black → const Color
Blue → const Color
DarkAqua → const Color
DarkBlue → const Color
DarkGray → const Color
DarkGreen → const Color
DarkPurple → const Color
DarkRed → const Color
Gold → const Color
Gray → const Color
Green → const Color
LightPurple → const Color
Red → const Color
White → const Color
Yellow → const Color