Color class

Constructors

Color(int r, int g, int b)

Properties

b int
final
cssString String
read-only
g int
final
hashCode int
The hash code for this object. [...]
read-only, override
r int
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

add(Color other, [double fraction]) Color
blend(Color other, double fraction) Color
blendPercent(Color other, int percent) Color
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Properties

black Color
final
blue Color
final
brown Color
final
cyan Color
final
darkBlue Color
final
darkBrown Color
final
darkCyan Color
final
darkGold Color
final
darkGray Color
final
darkGreen Color
final
darkOrange Color
final
darkPink Color
final
darkPurple Color
final
darkRed Color
final
darkYellow Color
final
gold Color
final
gray Color
final
green Color
final
lightBlue Color
final
lightBrown Color
final
lightCyan Color
final
lightGold Color
final
lightGray Color
final
lightGreen Color
final
lightOrange Color
final
lightPink Color
final
lightPurple Color
final
lightRed Color
final
lightYellow Color
final
orange Color
final
pink Color
final
purple Color
final
red Color
final
white Color
final
yellow Color
final