scaffold method

Scaffold scaffold({
  1. Key? key,
  2. PreferredSizeWidget? appBar,
  3. Widget? float,
  4. FloatingActionButtonLocation? floatLoc,
  5. FloatingActionButtonAnimator? floatAnim,
  6. List<Widget>? persistFooterBtns,
  7. AlignmentDirectional persistFooterAlign = AlignmentDirectional.centerEnd,
  8. Widget? drawer,
  9. DrawerCallback? onDrawerChanged,
  10. Widget? endDrawer,
  11. DrawerCallback? onEndDrawerChanged,
  12. Widget? nav,
  13. Widget? sheet,
  14. Color? bg,
  15. bool? resizeToAvoidBottomInset,
  16. bool primary = true,
  17. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  18. bool extendBody = false,
  19. bool extendBodyBehindAppBar = false,
  20. Color? drawerScrimColor,
  21. double? drawerEdgeDragWidth,
  22. bool drawerEnableOpenDragGesture = true,
  23. bool endDrawerEnableOpenDragGesture = true,
  24. String? restorationId,
})

see Scaffold

Implementation

Scaffold scaffold({
  Key? key,
  PreferredSizeWidget? appBar,
  Widget? float,
  FloatingActionButtonLocation? floatLoc,
  FloatingActionButtonAnimator? floatAnim,
  List<Widget>? persistFooterBtns,
  AlignmentDirectional persistFooterAlign = AlignmentDirectional.centerEnd,
  Widget? drawer,
  DrawerCallback? onDrawerChanged,
  Widget? endDrawer,
  DrawerCallback? onEndDrawerChanged,
  Widget? nav,
  Widget? sheet,
  Color? bg,
  bool? resizeToAvoidBottomInset,
  bool primary = true,
  DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  bool extendBody = false,
  bool extendBodyBehindAppBar = false,
  Color? drawerScrimColor,
  double? drawerEdgeDragWidth,
  bool drawerEnableOpenDragGesture = true,
  bool endDrawerEnableOpenDragGesture = true,
  String? restorationId,
}) =>
    Scaffold(
      key: key,
      appBar: appBar,
      body: this,
      floatingActionButton: float,
      floatingActionButtonAnimator: floatAnim,
      floatingActionButtonLocation: floatLoc,
      persistentFooterButtons: persistFooterBtns,
      persistentFooterAlignment: persistFooterAlign,
      drawer: drawer,
      onDrawerChanged: onDrawerChanged,
      endDrawer: endDrawer,
      onEndDrawerChanged: onEndDrawerChanged,
      bottomNavigationBar: nav,
      bottomSheet: sheet,
      backgroundColor: bg,
      resizeToAvoidBottomInset: resizeToAvoidBottomInset,
      primary: primary,
      drawerDragStartBehavior: drawerDragStartBehavior,
      extendBody: extendBody,
      drawerScrimColor: drawerScrimColor,
      drawerEdgeDragWidth: drawerEdgeDragWidth,
      drawerEnableOpenDragGesture: drawerEnableOpenDragGesture,
      endDrawerEnableOpenDragGesture: endDrawerEnableOpenDragGesture,
      restorationId: restorationId,
    );