UCard constructor
const
UCard({
- required Widget child,
- Key? key,
- double elevation = 2.0,
- Color? color,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(12)),
- EdgeInsets margin = EdgeInsets.zero,
- VoidCallback? onTap,
- Color? shadowColor,
- double? width,
- 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.onTap,
this.shadowColor,
this.width,
this.height,
});