toBottom static method
Animation from on the screen to down off the screen.
Implementation
static SlideTransition toBottom(Widget child, Animation<double> animation) {
return SlideTransition(
position: Tween<Offset>(
begin: Offset.zero,
end: const Offset(0, 1),
).animate(animation),
child: child,
);
}