animate method

Animation<T> animate(
  1. Animation<double> parent
)

Creates a new Animation by applying this animatable on top of parent.

The returned animation's value is this.transform(parent.value) and it notifies listeners whenever parent notifies.

Implementation

Animation<T> animate(Animation<double> parent) {
  return _AnimatedEvaluation<T>(parent, this);
}