slideToTop static method

MotionWidgetBuilder slideToTop({
  1. double factor = 1.0,
})

Animates the position from center to top.

Implementation

static MotionWidgetBuilder slideToTop({
  double factor = 1.0,
}) =>
    slideTo(
      Alignment.topCenter,
      factor: factor,
    );