WebviewPanel constructor
WebviewPanel({
- String? viewType,
- String? title,
- Object? iconPath,
- Webview? webview,
- WebviewPanelOptions? options,
- ViewColumn? viewColumn,
- bool? active,
- bool? visible,
- Event<
WebviewPanelOnDidChangeViewStateEvent> ? onDidChangeViewState, - Event<
void> ? onDidDispose, - void reveal([
- ViewColumn?,
- bool?
- 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),
);