reverse static method

Reverses the given motion.

Implementation

static MotionWidgetBuilder reverse(MotionWidgetBuilder motion) => (
      BuildContext context,
      MontageAnimation current,
      Animation<double> animation,
      Widget? child,
    ) =>
        motion(
          context,
          current,
          Tween(
            begin: 1.0,
            end: 0.0,
          ).animate(animation),
          child,
        );