MonoWebView constructor

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

Implementation

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