iamvivekkaushik / AwesomeCard

A Flutter package to easily create a Credit Card in your application.
MIT License
151 stars 86 forks source link

Get card type #7

Closed marianoarga closed 4 years ago

marianoarga commented 4 years ago

Hello, how I get the card type once the user has finished the number?

iamvivekkaushik commented 4 years ago

It automatically detects the card type you don't need to provide it as a argument (that's optional in case you want to override).

marianoarga commented 4 years ago

@iamvivekkaushik I mean, how do I listen for a detection, since I want to use that type on the future

iamvivekkaushik commented 4 years ago

This library does not provide that functionality. However you can copy the code from lib/extra/helper.dart and use it in your app.

iamvivekkaushik commented 4 years ago

I'm closing this issue since it is not related to this package.