ParticleColor class sealed
An abstract class representing the configuration of particle colors.
Subclasses of ParticleColor should implement the configure
method.
- Implementers
Constructors
- ParticleColor()
-
const
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
-
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. -
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