moveX method
X-axis movement animation.
Set the X-axis offset at the start to begin.
Set the X-axis offset at the end to end.
Set the animation duration in duration.
Set the animation curve to curve.
X軸移動アニメーションを行います。
beginに開始時のX軸オフセットを設定します。
endに終了時のX軸オフセットを設定します。
durationにアニメーションの時間を設定します。
curveにアニメーションのカーブを設定します。
Implementation
Future<void> moveX({
required Duration duration,
Curve curve = Curves.linear,
double begin = 0.0,
double end = 0.0,
}) =>
move(
duration: duration,
curve: curve,
begin: Offset(begin, 0.0),
end: Offset(end, 0.0),
);