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