chainCurve static method
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));
}