MotionTransition<T> constructor

const MotionTransition<T>({
  1. required T? begin,
  2. required T? end,
  3. Interval? interval = const Interval(0.0, 1.0, curve: Curves.easeInOut),
})

Implementation

const MotionTransition({
  required this.begin,
  required this.end,
  this.interval = const Interval(
    0.0,
    1.0,
    curve: Curves.easeInOut,
  ),
})  : this.isReversed = false,
      this.reference = null;