bounceInLeft static method
向左弹入动画
Implementation
static SlideTransition bounceInLeft(
Animation<double> animation,
Widget child,
) {
return SlideTransition(
position: Tween<Offset>(
begin: const Offset(-1.0, 0.0),
end: Offset.zero,
).animate(CurvedAnimation(
parent: animation,
curve: Curves.bounceOut,
)),
child: child,
);
}