SuperScaffold constructor

const SuperScaffold({
  1. Widget? appBar,
  2. Widget? body,
  3. Widget? floatingActionButton,
  4. FloatingActionButtonLocation? floatingActionButtonLocation,
  5. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  6. List<Widget>? persistentFooterButtons,
  7. Widget? drawer,
  8. DrawerCallback? onDrawerChanged,
  9. Widget? endDrawer,
  10. DrawerCallback? onEndDrawerChanged,
  11. Widget? bottomNavigationBar,
  12. Widget? bottomSheet,
  13. Color? backgroundColor,
  14. bool? resizeToAvoidBottomInset,
  15. bool primary = true,
  16. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  17. bool extendBody = false,
  18. bool extendBodyBehindAppBar = false,
  19. Color? drawerScrimColor,
  20. double? drawerEdgeDragWidth,
  21. bool drawerEnableOpenDragGesture = true,
  22. bool endDrawerEnableOpenDragGesture = true,
  23. String? restorationId,
  24. Widget confirmationBuilder(
    1. BuildContext context,
    2. String message
    )?,
  25. Widget loadingBuilder(
    1. BuildContext context
    )?,
  26. String confirmationTitle = "Confirmation",
  27. String positiveConfirmationText = "Confirm",
  28. String negativeConfirmationText = "Cancel",
  29. 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,
});