CLContainer constructor

const CLContainer({
  1. Key? key,
  2. required Widget child,
  3. String? title,
  4. bool showShadow = true,
  5. Widget? customHeader,
  6. EdgeInsets? contentPadding,
  7. EdgeInsets? contentMargin,
  8. double? height,
  9. double? width,
  10. Color? backgroundColor,
  11. BoxConstraints? constraints,
  12. BorderRadius? borderRadius,
  13. String? actionTitle,
  14. Widget? titleWidget,
  15. Widget? actionWidget,
  16. dynamic onActionTap()?,
  17. bool glassmorphism = false,
  18. bool showBorder = false,
  19. Color? titleBackgroundColor,
  20. Widget? titleIcon,
  21. bool plainHeader = false,
  22. bool externalTitle = false,
  23. bool recessed = false,
  24. 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,
});