CustomCard constructor

const CustomCard({
  1. Key? key,
  2. required Widget child,
  3. VoidCallback? onTap,
  4. double? hPadFactor,
  5. double? vPadFactor,
  6. double? borderRadius,
  7. EdgeInsets? margin,
  8. VoidCallback? onLongPress,
  9. double? width,
  10. double? height,
  11. Color? backgroundColor,
  12. Clip? clipBehavior,
  13. BoxDecoration? decoration,
  14. EdgeInsets? padding,
  15. Color? shadowColor,
  16. 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);