CustomCardContainer constructor

const CustomCardContainer({
  1. Key? key,
  2. required Widget child,
  3. double borderRadius = 12.0,
  4. double spreadRadius = 0.0,
  5. double blurRadius = 4.0,
  6. Color? backgroundColor,
  7. EdgeInsets? padding,
  8. VoidCallback? onTap,
  9. EdgeInsets? margin = const EdgeInsets.only(bottom: 4),
  10. double? width = double.infinity,
  11. double? height,
  12. AlignmentGeometry? alignment,
})

Implementation

const CustomCardContainer({
  super.key,
  required this.child,
  this.borderRadius = 12.0,
  this.spreadRadius = 0.0,
  this.blurRadius = 4.0,
  this.backgroundColor,
  this.padding,
  this.onTap,
  this.margin = const EdgeInsets.only(bottom: 4),
  this.width= double.infinity,
  this.height,
  this.alignment,
});