chain method

Animatable<T> chain(
  1. Animatable<double> parent
)

Returns a new Animatable whose value is determined by first evaluating the given parent and then evaluating this object.

This allows Tweens to be chained before obtaining an Animation.

Implementation

Animatable<T> chain(Animatable<double> parent) {
  return _ChainedEvaluation<T>(parent, this);
}