TatweerCard constructor

const TatweerCard({
  1. Key? key,
  2. required Widget child,
  3. String? title,
  4. String? subtitle,
  5. Widget? header,
  6. Widget? footer,
  7. Color? backgroundColor,
  8. double? borderRadius,
  9. double? elevation,
  10. EdgeInsetsGeometry? padding,
  11. EdgeInsetsGeometry? margin,
  12. Color? borderColor,
  13. double? borderWidth,
  14. VoidCallback? onTap,
  15. bool clickable = false,
})

Implementation

const TatweerCard({
  Key? key,
  required this.child,
  this.title,
  this.subtitle,
  this.header,
  this.footer,
  this.backgroundColor,
  this.borderRadius,
  this.elevation,
  this.padding,
  this.margin,
  this.borderColor,
  this.borderWidth,
  this.onTap,
  this.clickable = false,
}) : super(key: key);