WebviewView constructor

WebviewView({
  1. String? viewType,
  2. Webview? webview,
  3. String? title,
  4. String? description,
  5. ViewBadge? badge,
  6. Event<void>? onDidDispose,
  7. bool? visible,
  8. Event<void>? onDidChangeVisibility,
  9. void show([
    1. bool?
    ])?,
})

Implementation

factory WebviewView({
  _i2.String? viewType,
  _i3.Webview? webview,
  _i2.String? title,
  _i2.String? description,
  _i3.ViewBadge? badge,
  _i3.Event<void>? onDidDispose,
  _i2.bool? visible,
  _i3.Event<void>? onDidChangeVisibility,
  void Function([_i2.bool?])? show,
}) =>
    WebviewView._(
      viewType: viewType,
      webview: webview ?? _i6.undefined,
      title: title,
      description: description,
      badge: badge ?? _i6.undefined,
      onDidDispose: onDidDispose ?? _i6.undefined,
      visible: visible,
      onDidChangeVisibility: onDidChangeVisibility ?? _i6.undefined,
      show: show == null ? null : _i5.allowInterop(show),
    );