CustomCardContainer constructor
const
CustomCardContainer({
- Key? key,
- required Widget child,
- double borderRadius = 12.0,
- double spreadRadius = 0.0,
- double blurRadius = 4.0,
- Color? backgroundColor,
- EdgeInsets? padding,
- VoidCallback? onTap,
- EdgeInsets? margin = const EdgeInsets.only(bottom: 4),
- double? width = double.infinity,
- double? height,
- 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,
});