WebviewPanel constructor

WebviewPanel({
  1. String? viewType,
  2. String? title,
  3. Object? iconPath,
  4. Webview? webview,
  5. WebviewPanelOptions? options,
  6. ViewColumn? viewColumn,
  7. bool? active,
  8. bool? visible,
  9. Event<WebviewPanelOnDidChangeViewStateEvent>? onDidChangeViewState,
  10. Event<void>? onDidDispose,
  11. void reveal([
    1. ViewColumn?,
    2. bool?
    ])?,
  12. dynamic dispose()?,
})

Implementation

factory WebviewPanel({
  _i2.String? viewType,
  _i2.String? title,
  _i2.Object? iconPath,
  _i3.Webview? webview,
  _i3.WebviewPanelOptions? options,
  _i3.ViewColumn? viewColumn,
  _i2.bool? active,
  _i2.bool? visible,
  _i3.Event<_i3.WebviewPanelOnDidChangeViewStateEvent>? onDidChangeViewState,
  _i3.Event<void>? onDidDispose,
  void Function([
    _i3.ViewColumn?,
    _i2.bool?,
  ])? reveal,
  _i2.dynamic Function()? dispose,
}) =>
    WebviewPanel._(
      viewType: viewType,
      title: title,
      iconPath: iconPath ?? _i6.undefined,
      webview: webview ?? _i6.undefined,
      options: options ?? _i6.undefined,
      viewColumn: viewColumn?.name ?? _i6.undefined,
      active: active,
      visible: visible,
      onDidChangeViewState: onDidChangeViewState ?? _i6.undefined,
      onDidDispose: onDidDispose ?? _i6.undefined,
      reveal: reveal == null ? null : _i5.allowInterop(reveal),
      dispose: dispose == null ? null : _i5.allowInterop(dispose),
    );