Commit 86ad51f1 authored by Seth Ladd's avatar Seth Ladd Committed by GitHub

Doc that SizedBox.expand can be used by Scaffold.body (#7141)

Closes https://github.com/flutter/flutter/issues/6907
parent 207968ff
...@@ -342,7 +342,8 @@ class Scaffold extends StatefulWidget { ...@@ -342,7 +342,8 @@ class Scaffold extends StatefulWidget {
/// The widget in the body of the scaffold is positioned at the top-left of /// The widget in the body of the scaffold is positioned at the top-left of
/// the available space between the app bar and the bottom of the scaffold. To /// the available space between the app bar and the bottom of the scaffold. To
/// center this widget instead, consider putting it in a [Center] widget and /// center this widget instead, consider putting it in a [Center] widget and
/// having that be the body. /// having that be the body. To expand this widget instead, consider
/// putting it in a [SizedBox.expand].
/// ///
/// If you have a column of widgets that should normally fit on the screen, /// If you have a column of widgets that should normally fit on the screen,
/// but may overflow and would in such cases need to scroll, consider using a /// but may overflow and would in such cases need to scroll, consider using a
......
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