AuiCard.outlined constructor
const
AuiCard.outlined({
- Key? key,
- required Widget child,
- Widget? header,
- Widget? image,
- VoidCallback? onTap,
- EdgeInsetsGeometry padding = const EdgeInsets.all(16),
- Color? color,
- Color? borderColor,
- 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;