move method
Movement animation is performed.
Set the start offset to begin
.
Set the end offset to end
.
Set the animation duration in duration
.
Set the animation curve to curve
.
移動アニメーションを行います。
begin
に開始時のオフセットを設定します。
end
に終了時のオフセットを設定します。
duration
にアニメーションの時間を設定します。
curve
にアニメーションのカーブを設定します。
Implementation
Future<void> move({
required Duration duration,
Curve curve = Curves.linear,
Offset begin = const Offset(0, 0),
Offset end = const Offset(0, 0),
}) {
return runAnimateQuery(
_MoveEffectQuery(
duration: duration,
curve: curve,
begin: begin,
end: end,
),
);
}