slideOutToTop method

Widget slideOutToTop({
  1. double? value,
  2. bool fractional = false,
})

Applies a TranslateEffect to a Widget with a default animation to slide this widget out to the top.

Implementation

Widget slideOutToTop({
  double? value,
  bool fractional = false,
}) =>
    slideOut(
      Offset(0, value ?? (fractional ? -1 : -_kDefaultSlideOffset)),
      fractional: fractional,
    );