UCard constructor
const
UCard({
- required Widget body,
- Widget? header,
- List<
Widget> ? actions, - Key? key,
- double elevation = 2.0,
- Color? color,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(12)),
- EdgeInsets margin = const EdgeInsets.all(8),
- EdgeInsets padding = const EdgeInsets.all(16),
- VoidCallback? onTap,
- Color? shadowColor,
Implementation
const UCard({
required this.body,
this.header,
this.footer,
this.actions,
super.key,
this.elevation = 2.0,
this.color,
this.borderRadius = const BorderRadius.all(Radius.circular(12)),
this.margin = const EdgeInsets.all(8),
this.padding = const EdgeInsets.all(16),
this.onTap,
this.shadowColor,
});