final code
This commit is contained in:
@@ -186,17 +186,17 @@ class _CardCheckoutScreenState extends State<CardCheckoutScreen> {
|
||||
),
|
||||
|
||||
// Cash on Delivery (COD) Option
|
||||
ListTile(
|
||||
leading: Icon(Icons.money, color: Colors.orange),
|
||||
title: Text("Cash on Delivery (COD)"),
|
||||
trailing: paymentProvider.selectedPaymentMethod == "COD"
|
||||
? Icon(Icons.check_circle, color: Colors.green)
|
||||
: null,
|
||||
onTap: () {
|
||||
paymentProvider.selectPaymentMethod("COD");
|
||||
// Navigator.pop(context);
|
||||
},
|
||||
),
|
||||
// ListTile(
|
||||
// leading: Icon(Icons.money, color: Colors.orange),
|
||||
// title: Text("Cash on Delivery (COD)"),
|
||||
// trailing: paymentProvider.selectedPaymentMethod == "COD"
|
||||
// ? Icon(Icons.check_circle, color: Colors.green)
|
||||
// : null,
|
||||
// onTap: () {
|
||||
// paymentProvider.selectPaymentMethod("COD");
|
||||
// // Navigator.pop(context);
|
||||
// },
|
||||
// ),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user