UpScaffold constructor

const UpScaffold({
  1. Key? key,
  2. PreferredSizeWidget? appBar,
  3. GlobalKey<ScaffoldState>? scaffoldKey,
  4. Color? drawerScrimColor,
  5. bool endDrawerEnableOpenDragGesture = true,
  6. Widget? endDrawer,
  7. bool drawerEnableOpenDragGesture = true,
  8. Widget? body,
  9. UpStyle? style,
  10. UpColorType? colorType,
  11. Widget? bottomSheet,
  12. Widget? drawer,
  13. Widget? compactDrawer,
  14. double? drawerEdgeDragWidth,
  15. Widget? bottomNavigationBar,
  16. String? restorationId,
  17. Widget? floatingActionButton,
  18. DragStartBehavior? drawerDragStartBehavior = DragStartBehavior.start,
  19. bool extendBody = false,
  20. bool? resizeToAvoidBottomInset,
  21. bool extendBodyBehindAppBar = false,
  22. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  23. FloatingActionButtonLocation? floatingActionButtonLocation,
  24. void onDrawerChanged(
    1. bool
    )?,
  25. void onEndDrawerChanged(
    1. bool
    )?,
  26. List<Widget>? persistentFooterButtons,
  27. AlignmentDirectional persistentFooterAlignment = AlignmentDirectional.centerEnd,
  28. bool primary = true,
  29. bool fixedDrawer = false,
})

Implementation

const UpScaffold({
  super.key,
  this.appBar,
  this.scaffoldKey,
  this.drawerScrimColor,
  this.endDrawerEnableOpenDragGesture = true,
  this.endDrawer,
  this.drawerEnableOpenDragGesture = true,
  this.body,
  this.style,
  this.colorType,
  this.bottomSheet,
  this.drawer,
  this.compactDrawer,
  this.drawerEdgeDragWidth,
  this.bottomNavigationBar,
  this.restorationId,
  this.floatingActionButton,
  this.drawerDragStartBehavior = DragStartBehavior.start,
  this.extendBody = false,
  this.resizeToAvoidBottomInset,
  this.extendBodyBehindAppBar = false,
  this.floatingActionButtonAnimator,
  this.floatingActionButtonLocation,
  this.onDrawerChanged,
  this.onEndDrawerChanged,
  this.persistentFooterButtons,
  this.persistentFooterAlignment = AlignmentDirectional.centerEnd,
  this.primary = true,
  this.fixedDrawer = false,
});