From a56d324d20931777e7a0ba64f55ddd1252b796c5 Mon Sep 17 00:00:00 2001 From: 99spark Date: Sat, 3 Jun 2023 13:41:15 -0700 Subject: [PATCH] Cleared up some ambiguity in the transform scale constructor regarding how the scaling factor is affected by the omission of a value for either scaleX or scaleY --- packages/flutter/lib/src/widgets/basic.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/widgets/basic.dart b/packages/flutter/lib/src/widgets/basic.dart index d2151e9177049..10f0a538e1dce 100644 --- a/packages/flutter/lib/src/widgets/basic.dart +++ b/packages/flutter/lib/src/widgets/basic.dart @@ -1371,7 +1371,7 @@ class Transform extends SingleChildRenderObjectWidget { /// Creates a widget that scales its child along the 2D plane. /// - /// The `scaleX` argument provides the scalar by which to multiply the `x` axis, and the `scaleY` argument provides the scalar by which to multiply the `y` axis. Either may be omitted, in which case that axis defaults to 1.0. + /// The `scaleX` argument provides the scalar by which to multiply the `x` axis, and the `scaleY` argument provides the scalar by which to multiply the `y` axis. Either may be omitted, in which case the scaling factor for that axis defaults to 1.0. /// /// For convenience, to scale the child uniformly, instead of providing `scaleX` and `scaleY`, the `scale` parameter may be used. ///