fling abstract method

TickerFuture fling({
  1. double velocity = 1.0,
  2. SpringDescription? springDescription,
  3. AnimationBehavior? animationBehavior,
})

Drives the animation with a spring and initial velocity.

  • velocity: Initial speed of the animation.
  • springDescription: Physical spring parameters.
  • animationBehavior: Accessibility behavior override.

Ensures:

  • Animates physics-based spring behavior to completion or equilibrium.

Implementation

TickerFuture fling({
  double velocity = 1.0,
  SpringDescription? springDescription,
  AnimationBehavior? animationBehavior,
});