From 86ad51f1ecc141d6d02777687ba3ca9e50c24776 Mon Sep 17 00:00:00 2001 From: Seth Ladd Date: Thu, 5 Jan 2017 15:18:40 -0800 Subject: [PATCH] Doc that SizedBox.expand can be used by Scaffold.body (#7141) Closes https://github.com/flutter/flutter/issues/6907 --- packages/flutter/lib/src/material/scaffold.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/material/scaffold.dart b/packages/flutter/lib/src/material/scaffold.dart index 115288f8dd..0f5705f814 100644 --- a/packages/flutter/lib/src/material/scaffold.dart +++ b/packages/flutter/lib/src/material/scaffold.dart @@ -342,7 +342,8 @@ class Scaffold extends StatefulWidget { /// 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 /// 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, /// but may overflow and would in such cases need to scroll, consider using a