Fix Align widthFactor and heightFactor docs to allow 0 values (#67334)

This commit is contained in:
Anthony
2020-10-08 11:09:27 -04:00
committed by GitHub
parent d2858f00dd
commit 82ff246156

View File

@@ -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