ParticleConfiguration class

The ParticleConfiguration class represents the configuration for a particle in the animation.

The ParticleConfiguration class holds information about the shape, size, and color of a particle. It is used to define the appearance of each particle in the animation.

Constructors

ParticleConfiguration({required Shape shape, required Size size, ParticleColor color = const SingleParticleColor(color: Colors.black), Effect<AnimatedParticle> postEffectBuilder(Particle)?})
Creates a ParticleConfiguration with the specified shape, size, and color.
const

Properties

color ParticleColor
The color of the particle. By default will use a single black color.
final
hashCode int
The hash code for this object.
no setterinherited
postEffectBuilder → (Effect<AnimatedParticle> Function(Particle)?)
Effect to trigger once particle travel is over.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape Shape
The shape of the particle.
final
size Size
The size of the particle.
final

Methods

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