CreditCardUi constructor
const
CreditCardUi({
- required String cardHolderFullName,
- required String cardNumber,
- required String validThru,
- String? validFrom,
- Color topLeftColor = Colors.purple,
- Color? bottomRightColor,
- bool doesSupportNfc = true,
- @Deprecated('[scale] is deprecated, use [width] instead, will be removed soon') double scale = 1.0,
- double? width,
- bool placeNfcIconAtTheEnd = false,
- CardType cardType = CardType.credit,
- CreditCardType? creditCardType,
- Widget? cardProviderLogo,
- CardProviderLogoPosition cardProviderLogoPosition = CardProviderLogoPosition.right,
- DecorationImage? backgroundDecorationImage,
- bool showValidFrom = true,
- bool showValidThru = true,
- Key? key,
- String? currencySymbol = r'$',
- double? balance = 0.0,
- bool? showBalance = false,
- bool? autoHideBalance = false,
- bool? enableFlipping = false,
- String? cvvNumber = '***',
- bool? disableHapticFeedBack = false,
Creates Credit Card UI.
Implementation
const CreditCardUi({
required this.cardHolderFullName,
required this.cardNumber,
required this.validThru,
this.validFrom,
this.topLeftColor = Colors.purple,
this.bottomRightColor,
this.doesSupportNfc = true,
@Deprecated(
'[scale] is deprecated, use [width] instead, will be removed soon',
)
this.scale = 1.0,
this.width,
this.placeNfcIconAtTheEnd = false,
this.cardType = CardType.credit,
this.creditCardType,
this.cardProviderLogo,
this.cardProviderLogoPosition = CardProviderLogoPosition.right,
this.backgroundDecorationImage,
this.showValidFrom = true,
this.showValidThru = true,
super.key,
this.currencySymbol = r'$',
this.balance = 0.0,
this.showBalance = false,
this.autoHideBalance = false,
this.enableFlipping = false,
this.cvvNumber = '***',
this.disableHapticFeedBack = false,
});