IframeCashPay constructor

const IframeCashPay({
  1. Key? key,
  2. required String iframeURL,
  3. required dynamic onConfirmPayment(
    1. String
    ),
  4. required dynamic onCancel(
    1. String
    ),
  5. required dynamic onError(
    1. String
    ),
  6. Widget? loadingWidget,
  7. Widget? errorWidget,
})

Implementation

const IframeCashPay({
  super.key,
  required this.iframeURL,
  required this.onConfirmPayment,
  required this.onCancel,
  required this.onError,
  this.loadingWidget,
  this.errorWidget,
});