flutter-webview-windows
flutter-webview-windows copied to clipboard
Add drag and drop support
It looks like WebView2 will get drag and drop support for composition mode soon. -> make use of that API.
Excuse me, if there is no problem in the environment system where webview2 is not installed, or whether it is possible to integrate the webview2 runtime environment into the package @jnschulze
Windows 10 SDK 1903+(10.0.18362.1) What if it is below this version, support
how to flutter call js and js call flutter thank u.
To call JS you can use: _windowWVController.executeScript("console.log('Hello javascript')")
JS--> FLutter
- In flutter, you must listen messages on stream _windowWVController.webMessage.listen((event) { /// Receive message from Webview print("On Message from Window Webview : " + event); });
- In your HTML : window.chrome.webview.postMessage("Ahihi, Hello flutter");
so, now not support drag and drop event?