XCard constructor

const XCard({
  1. Key? key,
  2. required Widget child,
  3. GestureTapCallback? onTap,
  4. bool hasButtonOnTop = false,
  5. double? marginTop,
  6. double? marginBottom,
  7. EdgeInsetsGeometry? padding,
  8. double? height,
  9. Color? color,
})

Implementation

const XCard({
  Key? key,
  required this.child,
  this.onTap,
  this.hasButtonOnTop = false,
  this.marginTop,
  this.marginBottom,
  this.padding,
  this.height,
  this.color,
}) : super(key: key);