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. EdgeInsets? padding,
  9. Color? color,
  10. BoxDecoration? decoration,
  11. BoxConstraints? constraints,
  12. double? width,
  13. double? height,
  14. DrawerCallback? onDrawerChanged,
  15. DrawerCallback? onEndDrawerChanged,
  16. bool resizeToAvoidBottomInset = false,
  17. bool extendBodyBehindAppBar = false,
  18. FloatingActionButtonLocation floatingActionButtonLocation = FloatingActionButtonLocation.endFloat,
  19. Alignment alignment = Alignment.center,
})

Implementation

const UScaffold({
  required this.body,
  super.key,
  this.appBar,
  this.drawer,
  this.endDrawer,
  this.floatingActionButton,
  this.bottomNavigationBar,
  this.padding,
  this.color,
  this.decoration,
  this.constraints,
  this.width,
  this.height,
  this.onDrawerChanged,
  this.onEndDrawerChanged,
  this.resizeToAvoidBottomInset = false,
  this.extendBodyBehindAppBar = false,
  this.floatingActionButtonLocation = FloatingActionButtonLocation.endFloat,
  this.alignment = Alignment.center,
});