CardImage constructor

const CardImage({
  1. Key? key,
  2. required Widget image,
  3. Widget? title,
  4. Widget? subtitle,
  5. Widget? trailing,
  6. Widget? leading,
  7. VoidCallback? onPressed,
  8. bool? enabled,
  9. AbstractButtonStyle? style,
  10. Axis direction = Axis.vertical,
  11. double hoverScale = 1.05,
  12. double normalScale = 1,
  13. Color? backgroundColor = Colors.transparent,
  14. Color? borderColor = Colors.transparent,
})

Implementation

const CardImage({
  super.key,
  required this.image,
  this.title,
  this.subtitle,
  this.trailing,
  this.leading,
  this.onPressed,
  this.enabled,
  this.style,
  this.direction = Axis.vertical,
  this.hoverScale = 1.05,
  this.normalScale = 1,
  this.backgroundColor = Colors.transparent,
  this.borderColor = Colors.transparent,
});