resizeToAvoidBottomPadding property

bool resizeToAvoidBottomPadding
final

Whether the body (and other floating widgets) should size themselves to avoid the window's bottom padding.

For example, if there is an onscreen keyboard displayed above the scaffold, the body can be resized to avoid overlapping the keyboard, which prevents widgets inside the body from being obscured by the keyboard.

Defaults to true.

Implementation

final bool resizeToAvoidBottomPadding