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