PPScaffold constructor

const PPScaffold({
  1. Gradient? gradient,
  2. Color? backgroundColor,
  3. DecorationImage? backgroundImage,
  4. Key? key,
  5. PreferredSizeWidget? appBar,
  6. Widget? body,
  7. Widget? floatingActionButton,
  8. FloatingActionButtonLocation? floatingActionButtonLocation,
  9. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  10. List<Widget>? persistentFooterButtons,
  11. Widget? drawer,
  12. DrawerCallback? onDrawerChanged,
  13. Widget? endDrawer,
  14. DrawerCallback? onEndDrawerChanged,
  15. Widget? bottomNavigationBar,
  16. Widget? bottomSheet,
  17. bool? resizeToAvoidBottomInset,
  18. bool primary = true,
  19. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  20. bool extendBody = false,
  21. bool extendBodyBehindAppBar = false,
  22. Color? drawerScrimColor,
  23. double? drawerEdgeDragWidth,
  24. bool drawerEnableOpenDragGesture = true,
  25. bool endDrawerEnableOpenDragGesture = true,
  26. String? restorationId,
})

Implementation

const PPScaffold({
  this.gradient,
  this.backgroundColor,
  this.backgroundImage,
  super.key,
  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.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,
});