const
Widget.scaffold(- {Key? key,
- PreferredSizeWidget? appBar,
- Widget? body,
- Widget? floatingActionButton,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- Widget? drawer,
- Widget? endDrawer,
- Widget? bottomNavigationBar,
- Widget? bottomSheet,
- Color? backgroundColor,
- bool? resizeToAvoidBottomInset,
- @Default(true) bool primary,
- @Default(false) bool extendBody,
- @Default(false) bool extendBodyBehindAppBar,
- Color? drawerScrimColor,
- double? drawerEdgeDragWidth,
- @Default(true) bool drawerEnableOpenDragGesture,
- @Default(true) bool endDrawerEnableOpenDragGesture,
- String? restorationId}
)
Implementation
const factory Widget.scaffold({
Key? key,
PreferredSizeWidget? appBar,
Widget? body,
Widget? floatingActionButton,
FloatingActionButtonLocation? floatingActionButtonLocation,
List<Widget>? persistentFooterButtons,
@Default(Alignment.centerRight) Alignment persistentFooterAlignment,
Widget? drawer,
Widget? endDrawer,
Widget? bottomNavigationBar,
Widget? bottomSheet,
Color? backgroundColor,
bool? resizeToAvoidBottomInset,
@Default(true) bool primary,
@Default(false) bool extendBody,
@Default(false) bool extendBodyBehindAppBar,
Color? drawerScrimColor,
double? drawerEdgeDragWidth,
@Default(true) bool drawerEnableOpenDragGesture,
@Default(true) bool endDrawerEnableOpenDragGesture,
String? restorationId,
}) = Scaffold;