AppLayout constructor

const AppLayout({
  1. Key? key,
  2. AppLayoutType type = AppLayoutType.standard,
  3. required Widget child,
  4. Color? backgroundColor,
  5. EdgeInsetsGeometry? padding,
  6. bool extendBodyBehindAppBar = false,
  7. bool resizeToAvoidBottomInset = true,
  8. PreferredSizeWidget? appBar,
  9. Widget? floatingActionButton,
  10. Widget? bottomNavigationBar,
  11. Widget? drawer,
  12. Widget? endDrawer,
  13. FloatingActionButtonLocation? floatingActionButtonLocation,
  14. ScrollPhysics? physics,
  15. bool centerChild = false,
  16. BoxConstraints? constraints,
  17. bool safeTop = true,
  18. bool safeBottom = true,
  19. bool safeLeft = true,
  20. bool safeRight = true,
})

Implementation

const AppLayout({
  super.key,
  this.type = AppLayoutType.standard,
  required this.child,
  this.backgroundColor,
  this.padding,
  this.extendBodyBehindAppBar = false,
  this.resizeToAvoidBottomInset = true,
  this.appBar,
  this.floatingActionButton,
  this.bottomNavigationBar,
  this.drawer,
  this.endDrawer,
  this.floatingActionButtonLocation,
  this.physics,
  this.centerChild = false,
  this.constraints,
  this.safeTop = true,
  this.safeBottom = true,
  this.safeLeft = true,
  this.safeRight = true,
});