XCard constructor
const
XCard({
- Key? key,
- required Widget child,
- GestureTapCallback? onTap,
- bool hasButtonOnTop = false,
- double? marginTop,
- double? marginBottom,
- EdgeInsetsGeometry? padding,
- double? height,
- 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);