MonoWebView constructor

const MonoWebView({
  1. Key? key,
  2. required String apiKey,
  3. required MonoCustomer customer,
  4. Widget? error,
  5. dynamic onEvent(
    1. MonoEvent event,
    2. MonoEventData data
    )?,
  6. dynamic onSuccess(
    1. String code
    )?,
  7. dynamic onClosed(
    1. String? code
    )?,
  8. dynamic onLoad()?,
  9. String? paymentUrl,
  10. String? reference,
  11. ConnectInstitution? selectedInstitution,
  12. String reAuthCode = '',
  13. String scope = "auth",
})

Implementation

const MonoWebView({
  super.key,
  required this.apiKey,
  required this.customer,
  this.error,
  this.onEvent,
  this.onSuccess,
  this.onClosed,
  this.onLoad,
  this.paymentUrl,
  this.reference,
  this.selectedInstitution,
  this.reAuthCode = '',
  this.scope = "auth",
});