AnimationRequest constructor

AnimationRequest(
  1. double target,
  2. Duration duration,
  3. Curve curve
)

Creates an animation request with the specified parameters.

Parameters

  • target - The destination value for the animation.
  • duration - How long the animation should take.
  • curve - The easing curve to use.

Implementation

AnimationRequest(this.target, this.duration, this.curve);