CardBackground constructor
const
CardBackground({})
Implementation
const CardBackground({
Key? key,
required this.backgroundGradientColor,
this.backgroundImage,
this.backgroundNetworkImage,
required this.child,
this.width,
this.height,
this.glassmorphismConfig,
required this.padding,
this.border,
}) : assert(
(backgroundImage == null && backgroundNetworkImage == null) ||
(backgroundImage == null && backgroundNetworkImage != null) ||
(backgroundImage != null && backgroundNetworkImage == null),
"You can't use network image & asset image at same time for card background"),
super(key: key);