MacOSWebView constructor

MacOSWebView({
  1. void onOpen()?,
  2. void onClose()?,
  3. void onPageStarted(
    1. String? url
    )?,
  4. void onPageFinished(
    1. String? url
    )?,
  5. void onWebResourceError(
    1. WebResourceError error
    )?,
})

Implementation

MacOSWebView({
  this.onOpen,
  this.onClose,
  this.onPageStarted,
  this.onPageFinished,
  this.onWebResourceError,
}) : _channel = const MethodChannel(curiosity);