WebWebViewWidget constructor

WebWebViewWidget(
  1. PlatformWebViewWidgetCreationParams params
)

Constructs a WebWebViewWidget.

Implementation

WebWebViewWidget(PlatformWebViewWidgetCreationParams params)
    : super.implementation(params) {
  ui_web.platformViewRegistry.registerViewFactory(
    _controller._webWebViewParams.iFrame.id,
    (int viewId) => _controller._webWebViewParams.iFrame,
  );
}