FlyColorGenerator class
Generates perceptually uniform, contextually aware 12-step color scales.
The generation process:
- Converts input colors to OKLCH for perceptual uniformity
- Finds two closest template scales using ΔE_OK color difference
- Blends templates using trigonometry to determine mixing ratio
- Corrects hue and chroma to match source color identity
- Transposes lightness curve to anchor to background using Bezier easing
- Generates alpha variants using reverse alpha blending
Constructors
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
-
generate(
{required String appearance, required dynamic accent, required dynamic gray, required dynamic background}) → GeneratedColors - Generate colors from base colors.