CommonScaffold constructor

const CommonScaffold({
  1. Key? key,
  2. required Widget body,
  3. bool? resizeToAvoidBottomInset = false,
  4. Color? bgColor,
  5. Widget? bottomNavigationBar,
  6. bool safeArea = true,
  7. Widget? titleBar,
  8. VoidCallback? onLeftClick,
  9. VoidCallback? onRightClick,
  10. bool paddingStatusBar = false,
  11. EdgeInsets padding = EdgeInsets.zero,
  12. bool leftTitle = false,
  13. bool boldTitle = false,
  14. bool hasDivider = true,
  15. String title = "",
  16. double? titleSize,
  17. Color? titleColor,
  18. Color? titleBarBg,
  19. Widget? titleWidget,
  20. double? titleBarHeight,
  21. String? rightImage,
  22. Widget? leftWidget,
  23. Widget? rightWidget,
  24. double? bodyWidth,
})

Implementation

const CommonScaffold({
  super.key,
  required this.body,
  this.resizeToAvoidBottomInset = false,
  this.bgColor,
  this.bottomNavigationBar,
  this.safeArea = true,
  this.titleBar,
  this.onLeftClick,
  this.onRightClick,
  this.paddingStatusBar = false,
  this.padding = EdgeInsets.zero,
  this.leftTitle = false,
  this.boldTitle = false,
  this.hasDivider = true,
  this.title = "",
  this.titleSize,
  this.titleColor,
  this.titleBarBg,
  this.titleWidget,
  this.titleBarHeight,
  this.rightImage,
  this.leftWidget,
  this.rightWidget,
  this.bodyWidth,
});