If you webview_flutter plugin, you may get error saying, it’s not recognized. It may happen because of version problem. With me the lower version of webview_flutter works with latest version of flutter.
With me the below version worked
webview_flutter: ^3.0.1
I have tried to use ^4.2.0, but that’s not recognized by the sdk and editor.
If you use ^3.0.1 version you also need to take care of the below property

On line 48, you need to put curly braces for javascriptChannels.