getAnimatedOffset method

Offset getAnimatedOffset(
  1. Particle particle,
  2. double animationProgress
)

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.

particle - The particle to animate animationProgress - Elapsed time in seconds, scaled by animationSpeed

Implementation

Offset getAnimatedOffset(Particle particle, double animationProgress) {
  throw Exception('Not implemented');
}