CustomCard constructor
const
CustomCard({})
Creates a CustomCard with customizable child, color, and elevation.
Implementation
const CustomCard({
Key? key,
required this.child,
this.color = Colors.white,
this.elevation = 2.0,
}) : super(key: key);