slideFromLeft static method
- AnimationController controller
Slide from left animation
Implementation
static Animation<Offset> slideFromLeft(AnimationController controller) {
return Tween<Offset>(
begin: const Offset(-0.3, 0),
end: Offset.zero,
).animate(CurvedAnimation(parent: controller, curve: smooth));
}