SuperScaffold constructor
const
SuperScaffold({
- Widget? appBar,
- Widget? body,
- Widget? floatingActionButton,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- Widget? drawer,
- DrawerCallback? onDrawerChanged,
- Widget? endDrawer,
- DrawerCallback? onEndDrawerChanged,
- Widget? bottomSheet,
- Color? backgroundColor,
- 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,
- Widget confirmationBuilder(
- BuildContext context,
- String message
- Widget loadingBuilder(
- BuildContext context
- String confirmationTitle = "Confirmation",
- String positiveConfirmationText = "Confirm",
- String negativeConfirmationText = "Cancel",
- Future<
bool> onWillPop()?,
Implementation
const SuperScaffold({
this.appBar,
this.body,
this.floatingActionButton,
this.floatingActionButtonLocation,
this.floatingActionButtonAnimator,
this.persistentFooterButtons,
this.drawer,
this.onDrawerChanged,
this.endDrawer,
this.onEndDrawerChanged,
this.bottomNavigationBar,
this.bottomSheet,
this.backgroundColor,
this.resizeToAvoidBottomInset,
this.primary = true,
this.drawerDragStartBehavior = DragStartBehavior.start,
this.extendBody = false,
this.extendBodyBehindAppBar = false,
this.drawerScrimColor,
this.drawerEdgeDragWidth,
this.drawerEnableOpenDragGesture = true,
this.endDrawerEnableOpenDragGesture = true,
this.restorationId,
this.confirmationBuilder,
this.loadingBuilder,
this.confirmationTitle = "Confirmation",
this.positiveConfirmationText = "Confirm",
this.negativeConfirmationText = "Cancel",
this.onWillPop,
});