UIScaffold constructor

const UIScaffold({
  1. Key? key,
  2. Widget? appBar,
  3. Widget? body,
  4. Widget? floatingActionButton,
  5. FloatingActionButtonLocation? floatingActionButtonLocation,
  6. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  7. List<Widget>? persistentFooterButtons,
  8. Widget? drawer,
  9. DrawerCallback? onDrawerChanged,
  10. Widget? endDrawer,
  11. bool? webStyle,
  12. DrawerCallback? onEndDrawerChanged,
  13. Widget? bottomNavigationBar,
  14. Widget? bottomSheet,
  15. Color? backgroundColor,
  16. bool? resizeToAvoidBottomInset,
  17. bool primary = true,
  18. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  19. bool extendBody = false,
  20. bool extendBodyBehindAppBar = false,
  21. Color? drawerScrimColor,
  22. double? drawerEdgeDragWidth,
  23. bool drawerEnableOpenDragGesture = true,
  24. bool endDrawerEnableOpenDragGesture = true,
  25. String? restorationId,
  26. NavigatorController? inlineNavigatorControllerOnWeb,
  27. List<FutureOr>? loadingFutures,
  28. Widget? loadingWidget,
  29. Color? loadingIndicatorColor,
  30. DesignType? designType,
  31. double modalSizeRatio = 0.8,
})

Creates a visual scaffold for material design widgets.

Implementation

const UIScaffold({
  Key? key,
  this.appBar,
  this.body,
  this.floatingActionButton,
  this.floatingActionButtonLocation,
  this.floatingActionButtonAnimator,
  this.persistentFooterButtons,
  this.drawer,
  this.onDrawerChanged,
  this.endDrawer,
  this.webStyle,
  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.inlineNavigatorControllerOnWeb,
  this.loadingFutures,
  this.loadingWidget,
  this.loadingIndicatorColor,
  this.designType,
  this.modalSizeRatio = 0.8,
}) : super(key: key);