SingleParticleColor class
A ParticleColor subclass representing a single fixed color for particles.
- Inheritance
-
- Object
- ParticleColor
- SingleParticleColor
Constructors
- SingleParticleColor({required Color color})
-
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