ShadCard constructor

const ShadCard({
  1. Key? key,
  2. Widget? title,
  3. Widget? description,
  4. Widget? child,
  5. Widget? footer,
  6. EdgeInsetsGeometry? padding,
  7. Color? backgroundColor,
  8. BorderRadius? radius,
  9. ShadBorder? border,
  10. List<BoxShadow>? shadows,
  11. double? width,
  12. double? height,
  13. Widget? leading,
  14. Widget? trailing,
  15. MainAxisAlignment? rowMainAxisAlignment,
  16. CrossAxisAlignment? rowCrossAxisAlignment,
  17. MainAxisAlignment? columnMainAxisAlignment,
  18. CrossAxisAlignment? columnCrossAxisAlignment,
  19. MainAxisSize? rowMainAxisSize,
  20. MainAxisSize? columnMainAxisSize,
  21. Clip? clipBehavior,
  22. TextStyle? titleStyle,
  23. TextStyle? descriptionStyle,
  24. double? gap,
  25. Widget? action,
})

Creates a card widget with optional content and styling.

Implementation

const ShadCard({
  super.key,
  this.title,
  this.description,
  this.child,
  this.footer,
  this.padding,
  this.backgroundColor,
  this.radius,
  this.border,
  this.shadows,
  this.width,
  this.height,
  this.leading,
  this.trailing,
  this.rowMainAxisAlignment,
  this.rowCrossAxisAlignment,
  this.columnMainAxisAlignment,
  this.columnCrossAxisAlignment,
  this.rowMainAxisSize,
  this.columnMainAxisSize,
  this.clipBehavior,
  this.titleStyle,
  this.descriptionStyle,
  this.gap,
  this.action,
});