animatedBy method

Animation<T> animatedBy(
  1. AnimationController controller
)

Assigns this to an AnimationController specified by controller that computes the animation.

Returns an Animation that represents the animated values.

Example:

0.0.tweenTo(100.0).animatedBy(controller);

Implementation

Animation<T> animatedBy(AnimationController controller) {
  return animate(controller);
}