CardUI constructor

const CardUI({
  1. required Widget child,
  2. Color backgroundColor = Colors.white,
  3. double elevation = 2,
  4. Color shadowColor = Colors.black,
  5. double shadowBlur = 2,
  6. BorderRadius borderRadius = BorderRadius.zero,
  7. Offset shadowOffset = Offset.zero,
  8. double height = 300,
  9. double width = 500,
  10. double padding = 16,
  11. Key? key,
})

Implementation

const CardUI({
  required this.child,
  this.backgroundColor = Colors.white,
  this.elevation = 2,
  this.shadowColor = Colors.black,
  this.shadowBlur = 2,
  this.borderRadius = BorderRadius.zero,
  this.shadowOffset = Offset.zero,
  this.height = 300,
  this.width = 500,
  this.padding = 16,
  Key? key,
}) : super(key: key);