News for hackers. Stuff that matters.
Re:Flutter is the most popular cross-platform mobile SDK by samwillis on Tuesday February 22, 2022 @08:26AM (#30427611)
Last year I was looking at using Flutter for something that needed extensive use of a WebView, I very quickly came to the conclusion that they are having massive difficulty to get it working well due to the Flutter architecture. It looks like the situation has improved but just look at the web_view issues, there are a lot of them:

https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3A...

A lot of apps end up using at least one if not a lot of web views, I probably wouldn't use Flutter because of it.

Re:Flutter is the most popular cross-platform mobile SDK by onli on Tuesday February 22, 2022 @10:46AM (#30429313)
If you can control the HTML, https://pub.dev/packages/flutter_html works pretty good.
Re:Flutter is the most popular cross-platform mobile SDK by samwillis on Tuesday February 22, 2022 @11:00AM (#30429497)
That does look good if you have control and its somewhat simple html.

The particular use case I was looking at was integrating a web based rich text editor based on contenteditable. It had to be a proper webview, and the issue is that the interaction with the text (cursors/selection/typing/onscreen keyboard) was completely broken.