OmegaCreditCardWidget constructor
const
OmegaCreditCardWidget({
- Key? key,
- required String cardNumber,
- required String expiryDate,
- String labelExpiryDate = 'MM/YY',
- required String cardHolderName,
- String labelCardHolderName = 'CARD HOLDER',
- required String cvvCode,
- required bool showBackView,
- Duration animationDuration = const Duration(milliseconds: 500),
- double? height,
- double? width,
- TextStyle? textStyle,
- 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);