Webview constructor

Webview({
  1. WebviewOptions? options,
  2. String? html,
  3. Event? onDidReceiveMessage,
  4. String? cspSource,
  5. Future postMessage([
    1. dynamic
    ])?,
  6. Uri asWebviewUri(
    1. Uri
    )?,
})

Implementation

factory Webview({
  _i3.WebviewOptions? options,
  _i2.String? html,
  _i3.Event<_i2.dynamic>? onDidReceiveMessage,
  _i2.String? cspSource,
  _i2.Future<_i2.dynamic> Function([_i2.dynamic])? postMessage,
  _i3.Uri Function(_i3.Uri)? asWebviewUri,
}) =>
    Webview._(
      options: options ?? _i6.undefined,
      html: html,
      onDidReceiveMessage: onDidReceiveMessage ?? _i6.undefined,
      cspSource: cspSource,
      postMessage: postMessage == null ? null : _i5.allowInterop(postMessage),
      asWebviewUri:
          asWebviewUri == null ? null : _i5.allowInterop(asWebviewUri),
    );