Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added ability to specify card 'status' #160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

darki73
Copy link
Contributor

@darki73 darki73 commented Nov 29, 2023

This pull request adds an ability to specify the 'status' of the card, similar to this:

(this image was obtained by googling "mastercard platinum")

When:

return CreditCardWidget(
  bankName: 'ADCB',
  cardStatus: 'Platinum',
);

image

When:

return CreditCardWidget(
  bankName: 'ADCB',
);

image

When:

return CreditCardWidget(
  cardStatus: 'Platinum',
);

image

@darki73
Copy link
Contributor Author

darki73 commented Nov 29, 2023

I know I'm using too many if conditions, but this PR was hastily thrown together during the development of my application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant