SingleParticleColor class

A ParticleColor subclass representing a single fixed color for particles.

Inheritance

Constructors

SingleParticleColor({required Color color})
const

Properties

color Color
The fixed color for particles.
final
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. The progress is typically a value between 0 and 1 representing the animation progress, and particle 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