AnimationRequest constructor
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);