ColorLib class
Procedures related to color
Constructors
- ColorLib()
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
-
colorFromHexString(
dynamic colorstr) → dynamic -
Covert colors string
colorstr
eg #ffffff to a THREE color -
colorFromText(
String text) → Color -
from the seed of the username
text
get a repeatable random color Is dart Color so that can be used in widgets rather than THREE.Color -
dartColorFromHexString(
String code) → Color -
Covert colors string
code
eg #ffffff to a dart color