CommonScaffold constructor
const
CommonScaffold({
- Key? key,
- required Widget body,
- bool? resizeToAvoidBottomInset = false,
- Color? bgColor,
- bool safeArea = true,
- Widget? titleBar,
- VoidCallback? onLeftClick,
- VoidCallback? onRightClick,
- bool paddingStatusBar = false,
- EdgeInsets padding = EdgeInsets.zero,
- bool leftTitle = false,
- bool boldTitle = false,
- bool hasDivider = true,
- String title = "",
- double? titleSize,
- Color? titleColor,
- Color? titleBarBg,
- Widget? titleWidget,
- double? titleBarHeight,
- String? rightImage,
- Widget? leftWidget,
- Widget? rightWidget,
- 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,
});