The scaffold's body is not inset by this padding valueĪlthough an appBar or bottomNavigationBar will typicallyĬause the body to avoid the padding. Not be completely visible, like the display 'notch' on the iPhone The MediaQueryData.padding value defines areas that might Widget will be scrolled into view if it's within a scrollable By default the scaffold's body is resized to make Widget's MediaQueryData.viewInsets changes and the Scaffold willīe rebuilt. The device's keyboard appears the Scaffold's ancestor MediaQuery Means that it will occupy its entire window or device screen. The scaffold will expand to fill the available space.
To create a local project with this code sample, run:įlutter create -sample=material.Scaffold.3 mysample Scaffold layout, the keyboard, and display 'notches'