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