chain method

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

Chains this animatable after parent.

The result is an Animatable that first applies parent's transform, then this animatable's transform.

final curved = tween.chain(CurveTween(curve: Curves.easeIn));

Implementation

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