Unverified Commit ef1e6412 authored by LongCatIsLooong's avatar LongCatIsLooong Committed by GitHub

SizedBox documentation (#34424)

parent 264de265
...@@ -1940,8 +1940,9 @@ class CustomMultiChildLayout extends MultiChildRenderObjectWidget { ...@@ -1940,8 +1940,9 @@ class CustomMultiChildLayout extends MultiChildRenderObjectWidget {
/// either the width or height is null, this widget will size itself to match /// either the width or height is null, this widget will size itself to match
/// the child's size in that dimension. /// the child's size in that dimension.
/// ///
/// If not given a child, this widget will size itself to the given width and /// If not given a child, [SizedBox] will try to size itself as close to the
/// height, treating nulls as zero. /// specified height and width as possible given the parent's constraints. If
/// [height] or [width] is null or unspecified, it will be treated as zero.
/// ///
/// The [new SizedBox.expand] constructor can be used to make a [SizedBox] that /// The [new SizedBox.expand] constructor can be used to make a [SizedBox] that
/// sizes itself to fit the parent. It is equivalent to setting [width] and /// sizes itself to fit the parent. It is equivalent to setting [width] and
......
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