PhoenixCard constructor

const PhoenixCard({
  1. Key? key,
  2. double? width,
  3. EdgeInsets? padding,
  4. EdgeInsets? margin,
  5. VoidCallback? onTap,
  6. Color? backgroundColor,
  7. Widget? image,
  8. required Widget title,
  9. required Widget description,
  10. Widget? footer,
  11. bool footerSeparatorVisible = false,
  12. double? imageHeight = 150.0,
  13. Widget? footerSeparator,
  14. Widget? label,
  15. double borderRadius = 4,
  16. bool enableShadow = true,
  17. Color borderColor = Colors.transparent,
  18. double borderWidth = 1,
})

Implementation

const PhoenixCard({
  Key? key,
  this.width,
  this.padding,
  this.margin,
  this.onTap,
  this.backgroundColor,
  this.image,
  required this.title,
  required this.description,
  this.footer,
  this.footerSeparatorVisible = false,
  this.imageHeight = 150.0,
  this.footerSeparator,
  this.label,
  this.borderRadius = 4,
  this.enableShadow = true,
  this.borderColor = Colors.transparent,
  this.borderWidth = 1,
}) : super(key: key);