PaymentConfirmationDialog constructor

const PaymentConfirmationDialog({
  1. Key? key,
  2. required List<Map<String, dynamic>> selectedItems,
  3. required double totalPrice,
  4. required Map<String, String> shippingInfo,
  5. required double userBalance,
  6. required dynamic onPaymentSuccess(
    1. String paymentMethod,
    2. String orderId
    ),
})

Implementation

const PaymentConfirmationDialog({
  super.key,
  required this.selectedItems,
  required this.totalPrice,
  required this.shippingInfo,
  required this.userBalance,
  required this.onPaymentSuccess,
});