LerpColorBlender class final
Performs a linear interpolation blend. Ideal for gradients and UI designs.
- Inheritance
-
- Object
- ColorBlender
- LerpColorBlender
Constructors
- LerpColorBlender({Color? color1, Color? color2, double? blendWeight = 0.5})
-
const
Properties
- blendWeight → double?
-
finalinherited
- color1 → Color?
-
finalinherited
- color2 → Color?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
$blend(
Color c1, Color c2, double blendWeight) → Color -
override
-
blend(
[Color? color1, Color? color2, double? blendWeight]) → Color -
inherited
-
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