interval static method
Builds an interval animation: begin–end are 0–1 points along parent.
Implementation
static Animation<double> interval(
Animation<double> parent,
double begin,
double end, {
Curve curve = Curves.easeInOut,
}) =>
CurveTween(curve: Interval(begin, end, curve: curve)).animate(parent);