chainCurve static method

Animatable chainCurve(
  1. Animatable parent,
  2. Interval interval
)

Chains an Animatable with a CurveTween and the given Interval. Basically, the animation is being constrained to the given interval

Implementation

static Animatable chainCurve(Animatable parent, Interval interval) {
  return parent.chain(new CurveTween(curve: interval));
}