Color class

Constructors

Color([double r = 1, double g = 1, double b = 1, double a = 1])

Properties

a double
getter/setter pair
b double
getter/setter pair
g double
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
r double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromRGBA(int r, int g, int b, int a) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toArray() → dynamic
returns a list of r, g, b, a;
toString() String
A string representation of this object.
inherited

Operators

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