Unverified Commit 82ff2461 authored by Anthony's avatar Anthony Committed by GitHub

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

parent d2858f00
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment