You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.0 KiB
48 lines
1.0 KiB
import 'package:flutter/material.dart';
|
|
|
|
class PaymentMethod {
|
|
final String id;
|
|
final String name;
|
|
final String description;
|
|
final IconData icon;
|
|
final Color color;
|
|
|
|
const PaymentMethod({
|
|
required this.id,
|
|
required this.name,
|
|
required this.description,
|
|
required this.icon,
|
|
required this.color,
|
|
});
|
|
}
|
|
|
|
final List<PaymentMethod> paymentMethods = [
|
|
const PaymentMethod(
|
|
id: 'mvola',
|
|
name: 'MVola',
|
|
description: 'Paiement mobile MVola',
|
|
icon: Icons.phone,
|
|
color: Color(0xFF4285F4),
|
|
),
|
|
const PaymentMethod(
|
|
id: 'orange_money',
|
|
name: 'Orange Money',
|
|
description: 'Paiement mobile Orange Money',
|
|
icon: Icons.phone,
|
|
color: Color(0xFF4285F4),
|
|
),
|
|
const PaymentMethod(
|
|
id: 'carte',
|
|
name: 'Carte Bancaire',
|
|
description: 'Paiement par carte',
|
|
icon: Icons.credit_card,
|
|
color: Color(0xFF28A745),
|
|
),
|
|
const PaymentMethod(
|
|
id: 'especes',
|
|
name: 'Espèces',
|
|
description: 'Paiement en liquide',
|
|
icon: Icons.attach_money,
|
|
color: Color(0xFFFF9500),
|
|
),
|
|
];
|
|
|