AuiCard.outlined constructor

const AuiCard.outlined({
  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. Color? color,
  9. Color? borderColor,
  10. BorderRadiusGeometry? borderRadius,
})

A card with zero elevation and a visible border.

borderColor defaults to Colors.grey.shade300 when omitted.

Implementation

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