From 82ff246156c23bdd8cc4ac0e043c3f72ee10b87f Mon Sep 17 00:00:00 2001 From: Anthony <591699+clocksmith@users.noreply.github.com> Date: Thu, 8 Oct 2020 11:09:27 -0400 Subject: [PATCH] Fix Align widthFactor and heightFactor docs to allow 0 values (#67334) --- packages/flutter/lib/src/widgets/basic.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter/lib/src/widgets/basic.dart b/packages/flutter/lib/src/widgets/basic.dart index 220f78c238..ad48b6447f 100644 --- a/packages/flutter/lib/src/widgets/basic.dart +++ b/packages/flutter/lib/src/widgets/basic.dart @@ -1835,12 +1835,12 @@ class Align extends SingleChildRenderObjectWidget { /// If non-null, sets its width to the child's width multiplied by this factor. /// - /// Can be both greater and less than 1.0 but must be positive. + /// Can be both greater and less than 1.0 but must be non-negative. final double? widthFactor; /// If non-null, sets its height to the child's height multiplied by this factor. /// - /// Can be both greater and less than 1.0 but must be positive. + /// Can be both greater and less than 1.0 but must be non-negative. final double? heightFactor; @override