fadeInLeft static method
使用给定的动画将小部件淡入并向左滑动。
Implementation
static SlideTransition fadeInLeft(
Animation<double> animation,
Widget child,
) {
return SlideTransition(
position: Tween<Offset>(
begin: const Offset(-1.0, 0.0),
end: Offset.zero,
).animate(animation),
child: fadeIn(animation, child),
);
}