CreditCardWidget constructor
const
CreditCardWidget({
- required String cardNumber,
- required String expiryDate,
- required String cardHolderName,
- required String cvvCode,
- required bool showBackView,
- Key? key,
- double? height,
- double? width,
- Gradient? gradient,
- Duration animationDuration = const Duration(milliseconds: 500),
- bool obscureCardNumber = true,
- ValueChanged<
CardBrand> ? onBrandChanged,
Implementation
const CreditCardWidget({
required this.cardNumber,
required this.expiryDate,
required this.cardHolderName,
required this.cvvCode,
required this.showBackView,
super.key,
this.height,
this.width,
this.gradient,
this.animationDuration = const Duration(milliseconds: 500),
this.obscureCardNumber = true,
this.onBrandChanged,
});