AverageRGBColorBlender class final

Averages the RGB components of two colors for a straightforward blend.

Inheritance

Constructors

AverageRGBColorBlender({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