LinearInterpolationParticleColor class
A ParticleColor subclass representing a linear interpolation of colors for particles.
- Inheritance
-
- Object
- ParticleColor
- LinearInterpolationParticleColor
Constructors
-
LinearInterpolationParticleColor({required List<
Color> colors}) -
const
Properties
Methods
-
computeColor(
double progress) → Color -
Computes the color based on the
progress
. Theprogress
is typically a value between 0 and 1 representing the animation progress, andparticle
is the particle to be configured.override -
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