Commit cb771514 authored by Lorenzo Pichilli's avatar Lorenzo Pichilli Committed by GitHub

Update in_app_webview.dart

Added missing `contextMenu` and `windowId` creation params for Android Hybrid Composition
parent 0db8d130
...@@ -363,7 +363,9 @@ class _InAppWebViewState extends State<InAppWebView> { ...@@ -363,7 +363,9 @@ class _InAppWebViewState extends State<InAppWebView> {
'initialFile': widget.initialFile, 'initialFile': widget.initialFile,
'initialData': widget.initialData?.toMap(), 'initialData': widget.initialData?.toMap(),
'initialHeaders': widget.initialHeaders, 'initialHeaders': widget.initialHeaders,
'initialOptions': widget.initialOptions?.toMap() ?? {} 'initialOptions': widget.initialOptions?.toMap() ?? {},
'contextMenu': widget.contextMenu?.toMap() ?? {},
'windowId': widget.windowId
}, },
creationParamsCodec: const StandardMessageCodec(), creationParamsCodec: const StandardMessageCodec(),
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment