slideInFromTop method
Applies a TranslateEffect to a Widget with a default animation to slide this widget in from the top.
Implementation
Widget slideInFromTop({
double? value,
bool fractional = false,
}) =>
slideIn(
Offset(0, value ?? (fractional ? -1 : -_kDefaultSlideOffset)),
fractional: fractional,
);