WebWebViewWidget constructor
WebWebViewWidget(
- PlatformWebViewWidgetCreationParams params
Constructs a WebWebViewWidget.
Implementation
WebWebViewWidget(PlatformWebViewWidgetCreationParams params)
: super.implementation(params) {
final WebWebViewController controller =
params.controller as WebWebViewController;
ui_web.platformViewRegistry.registerViewFactory(
controller._webWebViewParams.iFrame.id,
(int viewId) => controller._webWebViewParams.iFrame,
);
}