Color class

Constructors

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

Properties

a double
read / write
b double
read / write
g double
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
r double
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

add(double r, double g, double b, double a) → void
clamp() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
set(double r, double g, double b, double a) → void
setFromColor(Color c) → void
setFromString(String hex) → void
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Properties

BLUE Color
final
GREEN Color
final
MAGENTA Color
final
RED Color
final
WHITE Color
final