UdCard constructor
UdCard({
- double? width,
- double? height,
- Color? backgroundColor,
- double? paddingHorizontal,
- double? paddingVertical,
- Color? borderColor,
- double? borderWidth,
- double? borderRadius,
- BorderRadius? customBorderRadius,
- bool? disableShadow,
- Color? shadowColor,
- Offset? shadowOffset,
- double? shadowBlurRadius,
- double? shadowSpreadRadius,
- bool? gradientEnable,
- Gradient? gradient,
- 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,
});