rotateIn static method
旋转进入动画
Implementation
static RotationTransition rotateIn(
Animation<double> animation,
Widget child,
) {
return RotationTransition(
turns: Tween<double>(begin: -0.25, end: 0.0).animate(
CurvedAnimation(parent: animation, curve: Curves.easeInOut),
),
child: child,
);
}