CardContainer constructor
CardContainer({
- Key? key,
- Widget? child,
- EdgeInsetsGeometry? margin,
- required CardContainerStyle style,
- double? width,
- double? height,
Implementation
CardContainer({
Key? key,
this.child,
this.margin,
required this.style,
double? width,
double? height
}) :
size = Size(width ?? DeviceUtil.screenW.toDouble(), height ?? double.infinity),
super(key: key);