AuiCard constructor

const AuiCard({
  1. Key? key,
  2. required Widget child,
  3. Widget? header,
  4. Widget? footer,
  5. Widget? image,
  6. VoidCallback? onTap,
  7. EdgeInsetsGeometry padding = const EdgeInsets.all(16),
  8. double elevation = 2,
  9. Color? color,
  10. Color? borderColor,
  11. 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;