UdCard constructor

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

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

Implementation

UdCard({
  this.width,
  this.height,
  this.backgroundColor,
  this.paddingHorizontal,
  this.paddingVertical,
  this.borderColor,
  this.borderWidth,
  this.borderRadius,
  this.customBorderRadius,
  this.disableShadow,
  this.shadowColor,
  this.shadowOffset,
  this.shadowBlurRadius,
  this.shadowSpreadRadius,
  this.gradientEnable,
  this.gradient,
  this.child,
});