Card.flat constructor
const
Card.flat({})
Implementation
const Card.flat({
Widget? child,
List<Widget>? children,
this.padding,
this.borderRadius,
void Function()? onTap,
void Function()? onClick,
this.backgroundColor,
this.fillWidth = false,
super.key,
}) : _child = child,
_children = children,
_onTap = onTap ?? onClick,
variant = CardVariant.flat,
assert(child != null || children != null,
'Either child or children must be provided');