moluopro / webview_all

Webview for All Flutter Platform
https://pub.dev/packages/webview_all
BSD 3-Clause "New" or "Revised" License
19 stars 7 forks source link

Use desktop_webview_window for desktop #1

Open joranmulderij opened 1 year ago

joranmulderij commented 1 year ago

Could you use desktop_webview_window as an alternative to webf for desktop? webf is really experimental and not at all stable. It fails to render most web pages.

I understand that it will no longer be plug-and-play, but I think it is better than the current situation.

Thanks for creating this. It is a lot better than doing the platform interfacing manually.

moluopro commented 1 year ago

I considered using this library on the desktop. But instead of a webview widget, it restarts a new window. Do you think this effect is acceptable?

joranmulderij commented 1 year ago

Oh I did not realize that. That is indeed unacceptable. I looked a little further and there are some Windows and Mac specific packages that you might be able to use. They do have a more complicated setup but I still think it is well worth it.

moluopro commented 1 year ago

In fact, those packages almost always pop up a new window. I'm pretty bummed about that too. I'll keep an eye on the community for better alternatives! And you're welcome to keep recommending me.

joranmulderij commented 1 year ago

There is 'webview_windows' and 'flutter_inline_webview_macos' which don't open a new window I believe. Not entirely sure if they work well and haven't tried them.

EricApostal commented 1 year ago

I run webview_windows in my own application which works flawlessly, and allows you to add it to a tree. I think https://github.com/hlwhl/webview_cef is also inlined (I can test later), but when I last tried it there was no keyboard support.

moluopro commented 1 year ago

Thank you, I'll test it later ⊙▽⊙

joranmulderij commented 1 year ago

webview_cef is inclined, but it ships a large runtime, increasing the size of the app.