Commit 10e4f520 authored by Adam Barth's avatar Adam Barth Committed by GitHub

Explain that `runApp` forces the app to fill the screen (#5904)

Fixes #5872
parent 8224e11b
......@@ -347,6 +347,11 @@ abstract class WidgetsBinding extends BindingBase implements GestureBinding, Ren
/// Inflate the given widget and attach it to the screen.
///
/// The widget is given constraints during layout that force it to fill the
/// entire screen. If you wish to align your widget to one side of the screen
/// (e.g., the top), consider using the [Align] widget. If you wish to center
/// your widget, you can also use the [Center] widget
///
/// Initializes the binding using [WidgetsFlutterBinding] if necessary.
///
/// See also:
......
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