fadeOutBottomLeft static method
向左下角淡出动画
Implementation
static FadeTransition fadeOutBottomLeft(
Animation<double> animation,
Widget child,
) {
return FadeTransition(
opacity: Tween<double>(begin: 1.0, end: 0.0).animate(animation),
child: SlideTransition(
position: Tween<Offset>(
begin: Offset.zero,
end: const Offset(-0.1, 0.1),
).animate(animation),
child: child,
),
);
}