Color class

HEX color class

Constructors

Color(int red, int green, int blue)
Color.black()
factory
Color.fromHEX(String hex)
factory
Color.white()
factory

Properties

blue int
final
green int
final
hashCode int
The hash code for this object.
no setterinherited
red int
final
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
Print color as 'R G B'
override

Operators

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