leftOutIn static method
Animation from left off the screen into the screen.
Implementation
static AnimatedWidget leftOutIn(Widget child, Animation<double> animation) {
return SlideTransition(
position: Tween<Offset>(
begin: const Offset(-1, 0),
end: Offset.zero,
).animate(animation),
child: child,
);
}