CLContainer constructor
const
CLContainer({
- Key? key,
- required Widget child,
- String? title,
- bool showShadow = true,
- Widget? customHeader,
- EdgeInsets? contentPadding,
- EdgeInsets? contentMargin,
- double? height,
- double? width,
- Color? backgroundColor,
- BoxConstraints? constraints,
- BorderRadius? borderRadius,
- String? actionTitle,
- Widget? titleWidget,
- Widget? actionWidget,
- dynamic onActionTap()?,
- bool glassmorphism = false,
- bool showBorder = false,
- Color? titleBackgroundColor,
- Widget? titleIcon,
- bool plainHeader = false,
- bool externalTitle = false,
- bool recessed = false,
- bool showTitleDivider = false,
Implementation
const CLContainer({
super.key,
required this.child,
this.title,
this.showShadow = true,
this.customHeader,
this.contentPadding,
this.contentMargin,
this.height,
this.width,
this.backgroundColor,
this.constraints,
this.borderRadius,
this.actionTitle,
this.titleWidget,
this.actionWidget,
this.onActionTap,
this.glassmorphism = false,
this.showBorder = false,
this.titleBackgroundColor,
this.titleIcon,
this.plainHeader = false,
this.externalTitle = false,
this.recessed = false,
this.showTitleDivider = false,
});