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()?,
  7. dynamic onLoad()?,
  8. String? paymentUrl,
  9. String? reference,
  10. Map<String, dynamic>? config,
  11. String reAuthCode = '',
  12. required bool paymentMode,
})

Implementation

const MonoWebView(
    {Key? key,
    required this.apiKey,
    this.error,
    this.onEvent,
    this.onSuccess,
    this.onClosed,
    this.onLoad,
    this.paymentUrl,
    this.reference,
    this.config,
    this.reAuthCode = '', required this.paymentMode})
    : super(key: key);