AuiCard.flat constructor

const AuiCard.flat({
  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. BorderRadiusGeometry? borderRadius,
})

A flat card with zero elevation, no border, and a transparent background.

Implementation

const AuiCard.flat({
  super.key,
  required this.child,
  this.header,
  this.footer,
  this.image,
  this.onTap,
  this.padding = const EdgeInsets.all(16),
  this.borderRadius,
})  : elevation = 0,
      color = Colors.transparent,
      borderColor = null,
      _outlined = false,
      _flat = true;