OmegaCreditCardWidget constructor

const OmegaCreditCardWidget({
  1. Key? key,
  2. required String cardNumber,
  3. required String expiryDate,
  4. String labelExpiryDate = 'MM/YY',
  5. required String cardHolderName,
  6. String labelCardHolderName = 'CARD HOLDER',
  7. required String cvvCode,
  8. required bool showBackView,
  9. Duration animationDuration = const Duration(milliseconds: 500),
  10. double? height,
  11. double? width,
  12. TextStyle? textStyle,
  13. Color cardBgColor = const Color(0xff1b447b),
})

Implementation

const OmegaCreditCardWidget({
  Key? key,
  required this.cardNumber,
  required this.expiryDate,
  this.labelExpiryDate = 'MM/YY',
  required this.cardHolderName,
  this.labelCardHolderName = 'CARD HOLDER',
  required this.cvvCode,
  required this.showBackView,
  this.animationDuration = const Duration(milliseconds: 500),
  this.height,
  this.width,
  this.textStyle,
  this.cardBgColor = const Color(0xff1b447b),
}) : super(key: key);