Skip to content

Commit

Permalink
:refactor: BSD - 2 to MIT
Browse files Browse the repository at this point in the history
  • Loading branch information
meetjanani committed Oct 11, 2021
1 parent 8e47633 commit 7f99f1e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions lib/credit_card_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -604,13 +604,11 @@ class _CreditCardWidgetState extends State<CreditCardWidget>
return icon;
}

List<CustomCardTypeImage> getCustomCardTypeIcon(CardType currentCardType) {
final List<CustomCardTypeImage> customCardTypeIcon = widget.customCardTypeIcons
.where((CustomCardTypeImage element) =>
element.cardType == currentCardType)
.toList();
return customCardTypeIcon;
}
List<CustomCardTypeImage> getCustomCardTypeIcon(CardType currentCardType) =>
widget.customCardTypeIcons
.where((CustomCardTypeImage element) =>
element.cardType == currentCardType)
.toList();
}

class MaskedTextController extends TextEditingController {
Expand Down

0 comments on commit 7f99f1e

Please sign in to comment.