interval static method

MotionWidgetBuilder interval(
  1. MotionWidgetBuilder motion, {
  2. double begin = 0.0,
  3. double end = 1.0,
  4. Curve curve = Curves.linear,
})

Apply the given motion into the given interval.

Implementation

static MotionWidgetBuilder interval(
  MotionWidgetBuilder motion, {
  double begin = 0.0,
  double end = 1.0,
  Curve curve = Curves.linear,
}) =>
    curved(Interval(begin, end, curve: curve), motion);