Update in_app_webview.dart
Added missing `contextMenu` and `windowId` creation params for Android Hybrid Composition
This commit is contained in:
parent
0db8d130f2
commit
cb7715149a
@ -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(),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user