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