components/u_credit_card
library
Classes
-
UCardBrandDetector
-
Detects card brand/bank from the first digits and gives its colors.
-
UCreditCardForm
-
Card number / expiry / holder / CVV fields that fill a UCreditCardModel.
UCreditCardForm(model: model, onChanged: (m) => setState(() {}))
-
UCreditCardModel
-
Card details typed in UCreditCardForm (number, expiry, holder, CVV).
-
UCreditCardWidget
-
Animated bank card that flips to the back for CVV, with brand colors.
UCreditCardWidget(cardNumber: n, expiryDate: e, cardHolderName: h, cvvCode: c, showBackView: false)
Enums
-
UCardBrand
-
Card network or Iranian bank detected from the number.