InAppBrowser constructor
InAppBrowser({
- int? windowId,
- UnmodifiableListView<
UserScript> ? initialUserScripts, - WebViewImplementation implementation = WebViewImplementation.NATIVE,
Implementation
InAppBrowser(
{this.windowId,
this.initialUserScripts,
this.implementation = WebViewImplementation.NATIVE}) {
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);
}