CardImage constructor
const
CardImage({
- Key? key,
- required Widget image,
- Widget? title,
- Widget? subtitle,
- Widget? trailing,
- Widget? leading,
- VoidCallback? onPressed,
- bool? enabled,
- AbstractButtonStyle? style,
- Axis direction = Axis.vertical,
- double hoverScale = 1.05,
- double normalScale = 1,
- Color? backgroundColor = Colors.transparent,
- 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,
});