All checks were successful
ci/woodpecker/push/billing_fees Pipeline was successful
ci/woodpecker/push/bff Pipeline was successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/chain_gateway Pipeline was successful
ci/woodpecker/push/fx_ingestor Pipeline was successful
ci/woodpecker/push/fx_oracle Pipeline was successful
ci/woodpecker/push/frontend Pipeline was successful
ci/woodpecker/push/nats Pipeline was successful
ci/woodpecker/push/ledger Pipeline was successful
ci/woodpecker/push/notification Pipeline was successful
ci/woodpecker/push/payments_orchestrator Pipeline was successful
20 lines
496 B
Dart
20 lines
496 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import 'package:pshared/models/payment/type.dart';
|
|
|
|
|
|
IconData iconForPaymentType(PaymentType type) {
|
|
switch (type) {
|
|
case PaymentType.bankAccount:
|
|
return Icons.account_balance;
|
|
case PaymentType.iban:
|
|
return Icons.language;
|
|
case PaymentType.wallet:
|
|
return Icons.account_balance_wallet;
|
|
case PaymentType.card:
|
|
return Icons.credit_card;
|
|
case PaymentType.cryptoAddress:
|
|
return Icons.currency_bitcoin;
|
|
}
|
|
}
|