diff --git a/lib/src/in_app_browser.dart b/lib/src/in_app_browser.dart index e7e1d683..844fab1b 100644 --- a/lib/src/in_app_browser.dart +++ b/lib/src/in_app_browser.dart @@ -301,7 +301,7 @@ class InAppBrowser { options = options.cast(); inAppBrowserClassOptions.inAppBrowserOptions = InAppBrowserOptions.fromMap(options); - inAppBrowserClassOptions.inAppWebViewWidgetOptions = InAppWebViewOptions(); + inAppBrowserClassOptions.inAppWebViewWidgetOptions = InAppWebViewWidgetOptions(); inAppBrowserClassOptions.inAppWebViewWidgetOptions.inAppWebViewOptions = InAppWebViewOptions.fromMap(options); if (Platform.isAndroid) {