PaymentConfirmationWidget constructor

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

Implementation

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