fromBottom static method
Animation from bottom offscreen up onto the screen.
Implementation
static SlideTransition fromBottom(Widget child, Animation<double> animation) {
return SlideTransition(
position: Tween<Offset>(
begin: const Offset(0, 1),
end: Offset.zero,
).animate(animation),
child: child,
);
}