slideOutToTop method
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,
);