bounceIn static method
弹入动画
Implementation
static ScaleTransition bounceIn(
Animation<double> animation,
Widget child,
) {
return ScaleTransition(
scale: Tween<double>(begin: 0.3, end: 1.0).animate(
CurvedAnimation(
parent: animation,
curve: Curves.bounceOut,
),
),
child: child,
);
}