RandomColor class

Main class for generating random colors with various customization options. Provides methods to generate colors in different formats and with specific characteristics such as hue, saturation, and brightness.

Constructors

RandomColor.new()

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

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

Static Methods

getColor(Options options) → dynamic
Generates random colors based on provided options.
getColorObject(Options options) Color
Converts the generated color to a Flutter Color object.
seed(int seed) → void
Sets the random number generator seed for reproducible colors.