From 47427044c80405a3104c6c06bfff68ee42ce0f1c Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Mon, 15 May 2023 19:28:08 +0200 Subject: [PATCH] Update in_app_webiew_example.screen.dart --- example/lib/in_app_webiew_example.screen.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example/lib/in_app_webiew_example.screen.dart b/example/lib/in_app_webiew_example.screen.dart index c90df746..2345c49c 100755 --- a/example/lib/in_app_webiew_example.screen.dart +++ b/example/lib/in_app_webiew_example.screen.dart @@ -17,6 +17,7 @@ class _InAppWebViewExampleScreenState extends State { InAppWebViewController? webViewController; InAppWebViewSettings settings = InAppWebViewSettings( + isInspectable: kDebugMode, mediaPlaybackRequiresUserGesture: false, allowsInlineMediaPlayback: true, iframeAllow: "camera; microphone", @@ -44,7 +45,7 @@ class _InAppWebViewExampleScreenState extends State { await webViewController?.clearFocus(); }) ], - settings: ContextMenuSettings(hideDefaultSystemContextMenuItems: true), + settings: ContextMenuSettings(hideDefaultSystemContextMenuItems: false), onCreateContextMenu: (hitTestResult) async { print("onCreateContextMenu"); print(hitTestResult.extra);