AuiCard constructor
const
AuiCard({
- Key? key,
- required Widget child,
- Widget? header,
- Widget? image,
- VoidCallback? onTap,
- EdgeInsetsGeometry padding = const EdgeInsets.all(16),
- double elevation = 2,
- Color? color,
- Color? borderColor,
- BorderRadiusGeometry? borderRadius,
Default card with a subtle drop shadow.
Implementation
const AuiCard({
super.key,
required this.child,
this.header,
this.footer,
this.image,
this.onTap,
this.padding = const EdgeInsets.all(16),
this.elevation = 2,
this.color,
this.borderColor,
this.borderRadius,
}) : _outlined = false,
_flat = false;