CardModel constructor

CardModel({
  1. Key? key,
  2. Widget? child,
  3. Color backgroundColor = Colors.white,
  4. Color shadowColor = Colors.black,
  5. Radius radius = Radius.zero,
  6. BoxBorder? border,
  7. EdgeInsets? padding,
  8. EdgeInsets? margin,
  9. Gradient? gradient,
  10. DecorationImage? imageDecoration,
  11. 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,
});