CommonBodyWidget constructor

const CommonBodyWidget({
  1. Key? key,
  2. Key? scaffoldKey,
  3. Widget? child,
  4. Widget? drawerWidget,
  5. Widget? bottomBarWidget,
  6. EdgeInsetsGeometry? padding,
  7. Color? backgroundColor,
  8. bool showAppBar = false,
  9. String? title,
  10. Widget? titleWidget,
  11. Widget? actionWidget,
  12. bool centerTitle = true,
  13. bool showBottomBar = false,
  14. bool showMenuIcon = false,
  15. bool showBackIcon = false,
  16. Color? iconColor,
  17. Brightness? brightness,
  18. double? appBarHeight,
  19. Color? appBarColor,
  20. Color? statusBarColor,
  21. String? fontFamily,
  22. VoidCallback? menuIconTap,
  23. VoidCallback? backIconTap,
  24. Widget? menuIconWidget,
  25. Widget? backIconWidget,
  26. bool showLoader = false,
  27. Widget? loaderWidget,
  28. bool bottomShadow = true,
  29. bool extendBodyBehindAppBar = false,
  30. bool resizeToAvoidBottomInset = true,
  31. Color? systemNavigationBarColor,
  32. Color? systemNavigationBarDividerColor,
  33. Widget? userImageWidget,
  34. EdgeInsetsGeometry? userImageWidgetPadding,
  35. Widget? bottomChildWidget,
})

Implementation

const CommonBodyWidget({
  super.key,
  this.scaffoldKey,
  this.child,
  this.drawerWidget,
  this.bottomBarWidget,
  this.padding,
  this.backgroundColor,
  this.showAppBar = false,
  this.title,
  this.titleWidget,
  this.actionWidget,
  this.centerTitle = true,
  this.showBottomBar = false,
  this.showMenuIcon = false,
  this.showBackIcon = false,
  this.iconColor,
  this.brightness,
  this.appBarHeight,
  this.appBarColor,
  this.statusBarColor,
  this.fontFamily,
  this.menuIconTap,
  this.backIconTap,
  this.menuIconWidget,
  this.backIconWidget,
  this.showLoader = false,
  this.loaderWidget,
  this.bottomShadow = true,
  this.extendBodyBehindAppBar = false,
  this.resizeToAvoidBottomInset = true,
  this.systemNavigationBarColor,
  this.systemNavigationBarDividerColor,
  this.userImageWidget,
  this.userImageWidgetPadding,
  this.bottomChildWidget,
});