Scaffold({Key key, AppBar appBar, Widget body, Widget floatingActionButton, List<Widget> persistentFooterButtons, Widget drawer, Widget bottomNavigationBar, Color backgroundColor, GlobalKey<ScrollableState> scrollableKey, AppBarBehavior appBarBehavior: AppBarBehavior.anchor, bool resizeToAvoidBottomPadding: true })

Creates a visual scaffold for material design widgets.

By default, the appBarBehavior causes the appBar not to respond to scrolling and the body is resized to avoid the window padding (e.g., to to avoid being obscured by an onscreen keyboard).

Source

Scaffold({
  Key key,
  this.appBar,
  this.body,
  this.floatingActionButton,
  this.persistentFooterButtons,
  this.drawer,
  this.bottomNavigationBar,
  this.backgroundColor,
  this.scrollableKey,
  this.appBarBehavior: AppBarBehavior.anchor,
  this.resizeToAvoidBottomPadding: true
}) : super(key: key);