InAppBrowser constructor
InAppBrowser({
- int? windowId,
- UnmodifiableListView<
UserScript> ? initialUserScripts,
Implementation
InAppBrowser({this.windowId, this.initialUserScripts}) {
id = IdGenerator.generate();
this._channel =
MethodChannel('com.pichillilorenzo/flutter_inappbrowser_$id');
this._channel.setMethodCallHandler(handleMethod);
_isOpened = false;
webViewController = new InAppWebViewController.fromInAppBrowser(
this._channel, this, this.initialUserScripts);
}