This is caused by a bug with recent update of webview_flutter_wkwebview (3.18.0), as discussed in this issue on Flutter repo.
You can temporarily fix it by overriding dependency version in pubspec.yaml back to 3.17.0:
dependency_overrides:
webview_flutter_wkwebview: 3.17.0