ProCard constructor

const ProCard({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. Color? backgroundColor,
  5. EdgeInsets? padding,
  6. EdgeInsets? margin,
  7. Color? borderColor,
  8. double? borderWidth,
  9. double? borderRadius,
  10. BorderRadius? customBorderRadius,
  11. bool? disableShadow,
  12. Color? shadowColor,
  13. Offset? shadowOffset,
  14. double? shadowBlurRadius,
  15. double? shadowSpreadRadius,
  16. bool? gradientEnable,
  17. Gradient? gradient,
  18. Widget? child,
})

ProCard is simplified and very easy to use when you need a card design. We provided major parameters for you so that you can design it on your way easily.

Implementation

const ProCard({
  Key? key,
  this.width,
  this.height,
  this.backgroundColor,
  this.padding,
  this.margin,
  this.borderColor,
  this.borderWidth,
  this.borderRadius,
  this.customBorderRadius,
  this.disableShadow,
  this.shadowColor,
  this.shadowOffset,
  this.shadowBlurRadius,
  this.shadowSpreadRadius,
  this.gradientEnable,
  this.gradient,
  this.child,
}) : super(key: key);