RandomColor class

Handles generation of random dark colors.

Constructors

RandomColor()

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

getRandomDarkColor({int mode = -1}) Color
Returns a random dark color. The mode can be optionally specified, which has to be either 1 (for one-primary) or 2 (for two-primary). Any other value will result in a random mode.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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