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