credit_card_number_input_formatter library Null safety

Classes

CardSystem
CardSystemData
CreditCardNumberInputFormatter

Functions

formatAsCardNumber(String cardNumber, {bool useSeparators = true}) String
getCardSystemData(String cardNumber) CardSystemData?
isCardValidNumber(String cardNumber, {bool checkLength = false}) bool
checks not only for length and characters but also for card system code code. If it's not found the succession of numbers will not be marked as a valid card number