BaseScaffold constructor
const
BaseScaffold({
- Key? key,
- BaseAppBar? appBar,
- Color? backgroundColor,
- Widget? body,
- bool resizeToAvoidBottomInset = true,
- bool safeAreaTop = false,
- bool safeAreaBottom = false,
- Widget? floatingActionButton,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- Widget? drawer,
- Widget? endDrawer,
- Widget? bottomSheet,
- bool primary = true,
- DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
- bool extendBody = false,
- bool? extendBodyBehindAppBar,
- bool autoSafeArea = true,
- Color? drawerScrimColor,
- double? drawerEdgeDragWidth,
- bool drawerEnableOpenDragGesture = true,
- bool endDrawerEnableOpenDragGesture = true,
- DrawerCallback? onDrawerChanged,
- DrawerCallback? onEndDrawerChanged,
- String? restorationId,
- BaseParam? baseParam,
Implementation
const BaseScaffold({
Key? key,
this.appBar,
this.navBar,
this.backgroundColor,
this.body,
this.resizeToAvoidBottomInset = true,
this.safeAreaTop = false,
this.safeAreaBottom = false,
this.floatingActionButton,
this.floatingActionButtonLocation,
this.floatingActionButtonAnimator,
this.persistentFooterButtons,
this.drawer,
this.endDrawer,
this.bottomNavigationBar,
this.bottomSheet,
this.primary = true,
this.drawerDragStartBehavior = DragStartBehavior.start,
this.extendBody = false,
this.extendBodyBehindAppBar,
this.autoSafeArea = true,
this.drawerScrimColor,
this.drawerEdgeDragWidth,
this.drawerEnableOpenDragGesture = true,
this.endDrawerEnableOpenDragGesture = true,
this.onDrawerChanged,
this.onEndDrawerChanged,
this.restorationId,
BaseParam? baseParam,
}) : super(key: key, baseParam: baseParam);