Scatter class
- Mixed-in types
Properties
- animationSpeed → double
-
Animation speed multiplier. Default is 1.0 (one full cycle per second).
Override this getter to control animation speed.
no setterinherited
- hasAnimation → bool
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxDistance → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAnimatedOffset(
Particle particle, double animationProgress) → Offset -
Optional: Override this method for continuous animation effects.
Returns an animated offset for the particle based on elapsed time.
If null is returned, the static scatterOffset will be used instead.
inherited
-
initialize(
{required Size container, required Color? reader(int x, int y)}) → List< ScatterParticle> -
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