CardFrontLayout constructor

CardFrontLayout({
  1. String bankName = '',
  2. String? cardNumber = '',
  3. String? cardExpiry = '',
  4. String? cardHolderName = '',
  5. String? textExpDate = 'Exp. Date',
  6. String? textExpiry = 'MM/YY',
  7. String? textName = 'Card Holder',
  8. required String mask,
  9. Widget? cardTypeIcon,
  10. double? cardWidth = 0,
  11. double? cardHeight = 0,
  12. Color? textColor,
})

Implementation

CardFrontLayout({
  this.bankName = '',
  this.cardNumber = '',
  this.cardExpiry = '',
  this.cardHolderName = '',
  this.textExpDate = 'Exp. Date',
  this.textExpiry = 'MM/YY',
  this.textName = 'Card Holder',
  required this.mask,
  this.cardTypeIcon,
  this.cardWidth = 0,
  this.cardHeight = 0,
  this.textColor,
});