wanna pinch and zoom to webview_flutter
(I know flutter_webview_plugin can do that, but I wanna stick to flutter_webview for other reasons.)
Flutter: how to enable gestures in a web view?
Flutter webview plugin - enable pinch zoom
They all mentioned
this.webView.getSettings().setBuiltInZoomControls(true);
this.webView.getSettings().setSupportZoom(true); to allow pinch/zoom.
forgive my stupidity, I can't find where to add this code snippet, please help.
Download this repository: https://github.com/FisherWL/plugins/tree/add-zoom (thanks FisherWL)
copy the folder webview_flutter located inside packages to your project root folder,
then on the pubspec.yaml reference the folder like this:
webview_flutter:
path: ./webview_flutter