CardContainer constructor

CardContainer({
  1. Key? key,
  2. Widget? child,
  3. EdgeInsetsGeometry? margin,
  4. required CardContainerStyle style,
  5. double? width,
  6. 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);