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.
 
 
 
 
 
 

41 lines
882 B

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 = [
PaymentMethod(
id: 'mvola',
name: 'MVola',
description: 'Paiement mobile MVola',
icon: Icons.phone,
color: const Color(0xFF4285F4),
),
PaymentMethod(
id: 'carte',
name: 'Carte Bancaire',
description: 'Paiement par carte',
icon: Icons.credit_card,
color: const Color(0xFF28A745),
),
PaymentMethod(
id: 'especes',
name: 'Espèces',
description: 'Paiement en liquide',
icon: Icons.attach_money,
color: const Color(0xFFFF9500),
),
];