Files
sendico/frontend/pweb/lib/pages/payment_methods/icon.dart
2025-11-13 15:06:15 +03:00

18 lines
423 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;
}
}