File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed
flutter_inappwebview_web/lib/web Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
import 'dart:async' ;
2
2
import 'dart:js_interop' ;
3
+ import 'dart:ui_web' as ui_web;
3
4
import '../src/inappwebview_platform.dart' ;
4
5
import 'headless_inappwebview_manager.dart' ;
5
6
import 'js_bridge.dart' ;
@@ -9,15 +10,13 @@ import 'package:flutter_web_plugins/flutter_web_plugins.dart';
9
10
import 'in_app_web_view_web_element.dart' ;
10
11
import 'platform_util.dart' ;
11
12
12
- import 'shims/platform_view_registry.dart' show platformViewRegistry;
13
-
14
13
/// Builds an iframe based WebView.
15
14
///
16
15
/// This is used as the default implementation for `WebView` on web.
17
16
class InAppWebViewFlutterPlugin {
18
17
/// Constructs a new instance of [InAppWebViewFlutterPlugin] .
19
18
InAppWebViewFlutterPlugin (Registrar registrar) {
20
- platformViewRegistry.registerViewFactory (
19
+ ui_web. platformViewRegistry.registerViewFactory (
21
20
'com.pichillilorenzo/flutter_inappwebview' , (int viewId) {
22
21
var webView =
23
22
InAppWebViewWebElement (viewId: viewId, messenger: registrar);
You can’t perform that action at this time.
0 commit comments