UCard constructor

const UCard({
  1. required Widget child,
  2. Key? key,
  3. double elevation = 2.0,
  4. Color? color,
  5. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(12)),
  6. EdgeInsets margin = EdgeInsets.zero,
  7. Color? shadowColor,
  8. double? width,
  9. double? height,
})

Implementation

const UCard({
  required this.child,
  super.key,
  this.elevation = 2.0,
  this.color,
  this.borderRadius = const BorderRadius.all(Radius.circular(12)),
  this.margin = EdgeInsets.zero,
  this.shadowColor,
  this.width,
  this.height,
});