interval static method

Animation<double> interval(
  1. Animation<double> parent,
  2. double begin,
  3. double end, {
  4. Curve curve = Curves.easeInOut,
})

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);