CardModel constructor
CardModel({
- Key? key,
- Widget? child,
- Color backgroundColor = Colors.white,
- Color shadowColor = Colors.black,
- Radius radius = Radius.zero,
- BoxBorder? border,
- EdgeInsets? padding,
- EdgeInsets? margin,
- Gradient? gradient,
- DecorationImage? imageDecoration,
- double shadowBlurRadius = 2.0,
Implementation
CardModel({
this.key,
this.child,
this.backgroundColor = Colors.white,
this.shadowColor = Colors.black,
this.radius = Radius.zero,
this.border,
this.padding,
this.margin,
this.gradient,
this.imageDecoration,
this.shadowBlurRadius = 2.0,
});