INNER CODE UNIT · Dart
CardBackground
SimformSolutionsPvtLtd/flutter_credit_card · lib/src/credit_card_background.dart:12
class CardBackground extends StatelessWidget {
const CardBackground({
required this.backgroundGradientColor,
required this.child,
required this.padding,
this.backgroundImage,
this.backgroundNetworkImage,
this.width,
this.height,
this.glassmorphismConfig,
this.border,
this.floatingController,
this.glarePosition,
this.shadowConfig,
super.key,
}) : assert(
backgroundImage == null || backgroundNetworkImage == null,
'You can\'t use network image & asset image at same time as card'