scaffold method
Scaffold
scaffold({
- Key? key,
- PreferredSizeWidget? appBar,
- Widget? float,
- FloatingActionButtonLocation? floatLoc,
- FloatingActionButtonAnimator? floatAnim,
- Widget? drawer,
- DrawerCallback? onDrawerChanged,
- Widget? endDrawer,
- DrawerCallback? onEndDrawerChanged,
- 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,
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,
);