scaleY method
Y-axis scale animation.
Set the Y-axis scale at the start to begin
.
Set the Y-axis scale at the end to end
.
The center of the size change can be changed by setting alignment
.
Set the animation duration in duration
.
Set the animation curve to curve
.
Y軸スケールアニメーションを行います。
begin
に開始時のY軸スケールを設定します。
end
に終了時のY軸スケールを設定します。
alignment
を設定すると大きさの変更の中心を変更できます。
duration
にアニメーションの時間を設定します。
curve
にアニメーションのカーブを設定します。
Implementation
Future<void> scaleY({
required Duration duration,
Curve curve = Curves.linear,
double begin = 0.0,
double end = 0.0,
Alignment? alignment,
}) =>
scale(
duration: duration,
curve: curve,
begin: Offset(0.0, begin),
end: Offset(0.0, end),
alignment: alignment,
);