UScaffold constructor

const UScaffold({
  1. required Widget body,
  2. Key? key,
  3. PreferredSizeWidget? appBar,
  4. Widget? drawer,
  5. Widget? endDrawer,
  6. Widget? floatingActionButton,
  7. Widget? bottomNavigationBar,
  8. Widget? bottomSheet,
  9. List<Widget>? persistentFooterButtons,
  10. EdgeInsets? padding,
  11. EdgeInsets? margin,
  12. Color? color,
  13. BoxDecoration? decoration,
  14. BoxConstraints? constraints,
  15. double? width,
  16. double? height,
  17. DrawerCallback? onDrawerChanged,
  18. DrawerCallback? onEndDrawerChanged,
  19. bool? resizeToAvoidBottomInset,
  20. bool extendBodyBehindAppBar = false,
  21. bool extendBody = false,
  22. bool primary = true,
  23. Color? drawerScrimColor,
  24. FloatingActionButtonLocation? floatingActionButtonLocation,
  25. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  26. Alignment? alignment,
  27. bool safeArea = true,
  28. EdgeInsets safeAreaEdges = EdgeInsets.zero,
})

Implementation

const UScaffold({
  required this.body,
  super.key,
  this.appBar,
  this.drawer,
  this.endDrawer,
  this.floatingActionButton,
  this.bottomNavigationBar,
  this.bottomSheet,
  this.persistentFooterButtons,
  this.padding,
  this.margin,
  this.color,
  this.decoration,
  this.constraints,
  this.width,
  this.height,
  this.onDrawerChanged,
  this.onEndDrawerChanged,
  this.resizeToAvoidBottomInset,
  this.extendBodyBehindAppBar = false,
  this.extendBody = false,
  this.primary = true,
  this.drawerScrimColor,
  this.floatingActionButtonLocation,
  this.floatingActionButtonAnimator,
  this.alignment,
  this.safeArea = true,
  this.safeAreaEdges = EdgeInsets.zero,
});