AnimationRunner constructor

AnimationRunner(
  1. double from,
  2. double to,
  3. Duration duration,
  4. Curve curve,
)

Creates an animation runner with the specified parameters.

Parameters

  • from - The starting value.
  • to - The target value.
  • duration - The animation duration.
  • curve - The easing curve.

Implementation

AnimationRunner(this.from, this.to, this.duration, this.curve);