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. double? drawerEdgeDragWidth,
  14. Widget? bottomNavigationBar,
  15. String? restorationId,
  16. Widget? floatingActionButton,
  17. DragStartBehavior? drawerDragStartBehavior = DragStartBehavior.start,
  18. bool extendBody = false,
  19. bool? resizeToAvoidBottomInset,
  20. bool extendBodyBehindAppBar = false,
  21. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  22. FloatingActionButtonLocation? floatingActionButtonLocation,
  23. void onDrawerChanged(
    1. bool
    )?,
  24. void onEndDrawerChanged(
    1. bool
    )?,
  25. List<Widget>? persistentFooterButtons,
  26. AlignmentDirectional persistentFooterAlignment = AlignmentDirectional.centerEnd,
  27. bool primary = true,
})

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.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,
});