credit_card_validate

Creator: coderz1093

Last updated:

0 purchases

credit_card_validate Image
credit_card_validate Images

Languages

Categories

Add to Cart

Description:

credit card validate

credit_card_validate #
Demo : https://creditcardvalidator.netlify.com/
Using this package you can easily validate a credit card number, and identify the brand of the credit card.
Note: This package can be used in Flutter for Mobile, Web and Desktop.
Currently Supported Brands #

Visa
Mastercard
American Express
Discover

Installing #
Add the following line to your dependencies:
credit_card_validate: 0.0.3
copied to clipboard
and run flutter packages get
Import #
Import the package wherever you want to use it.
import 'package:credit_card_validate/credit_card_validate.dart';
copied to clipboard
Example #
For a fully functional demo, please visit https://creditcardvalidator.netlify.com/
Validating a Credit Card Number
bool isValid = CreditCardValidator.isCreditCardValid(cardNumber: '4716073082297205')
copied to clipboard
Identifying Credit Card Brand
String brand = CreditCardValidator.identifyCardBrand('4716073082297205');
copied to clipboard
For a fully functional example, please see the example directory
Demo #

Issues and Improvements #
Feel free to contribute at: https://github.com/ayush221b/credit_card_validate/issues

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.