CustomCard constructor
const
CustomCard({
- Key? key,
- required Widget child,
- VoidCallback? onTap,
- double? hPadFactor,
- double? vPadFactor,
- double? borderRadius,
- EdgeInsets? margin,
- VoidCallback? onLongPress,
- double? width,
- double? height,
- Color? backgroundColor,
- Clip? clipBehavior,
- BoxDecoration? decoration,
- EdgeInsets? padding,
- Color? shadowColor,
- Alignment? alignment,
Implementation
const CustomCard({
Key? key,
required this.child,
this.onTap,
this.hPadFactor,
this.vPadFactor,
this.borderRadius,
this.margin,
this.onLongPress,
this.width,
this.height,
this.backgroundColor,
this.clipBehavior,
this.decoration,
this.padding,
this.shadowColor,
this.alignment,
}) : super(key: key);