KeyColor class
Key color is a color that represents the hue and chroma of a tonal palette.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hue → double
-
final
- requestedChroma → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
) → Hct - Creates a key color from a hue and a requestedChroma. The key color is the first tone, starting from T50, matching the given hue and chroma.
-
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