I've created added a PR with a fix: https://github.com/fluttercommunity/flutter_webview_plugin/pull/408