5 ms·
Flutter web is also becoming a viable option for web apps. I recently wrote a new app in Flutter and it works surprisingly well on the web, not just in native i
by sgt 6y ago
Flutter web is also becoming a viable option for web apps. I recently wrote a new app in Flutter and it works surprisingly well on the web, not just in native iOS and Android. It has some quirks though but I did not find anything serious.
- realusername 6y agoI have a large Flutter codebase and I don't have the same opinion, Flutter web is still an alpha quality and it would take way too much work to make my codebase work with the web version. For desktop though, it's pretty good.
- ignoramous 6y agoHave you by any chance also evaluated / considered https://platform.uno/ https://platform.uno/ ? If so, I am interested in your take on it versus Flutter.
- sgt 6y agoI've built a new Flutter web app this week and I've hit some gotchas like improper rendering of text form fields (SVG flags were incorrectly set when displaying on the web, regardless of HTML or Canvas rendering it seems). However, Google engineers are actively working on problems like these and it seems like the dev branch is fairly stable and usable as of right now. I'd say 30 days ago it would not have been the case.
- kaba0 6y agoIsn’t it still just a canvas with basically no accessibility, and all the negatives of a flash app?
- sofixa 6y agoThe negatives of Flash are: * closed source * requires ag extra plugin to render * slow * fake sandbox that had too many bugs Flutter has none of these.
- kaba0 6y agoI meant it in terms of a widget with no notion of the DOM. You can’t really right click, select, only if the app creator overrides those events. Nothing native. Also, what if the creator embeds an ad inside a canvas? You would need an AI to hide it from there. So, all in all a pretty terrible direction to go..
- sgt 6y agoIf the creator wants an ad there, let him put an ad there or just simply stop using the app.
- kaba0 6y agoOk, what about the vision impaired? Or any other point I mentioned?
- sgt 6y agoI didn't know about this. Is Flutter web ignoring accessibility when rendering to HTML? If so that is a no no.
- kaba0 6y agoLast time they rendered everything into a canvas. The initial plan was to render DOM elements on the web (the other platforms are essentially canvases, so it was the easiest to implement). I don’t know the current state of Flutter, please don’t judge it based on my comment alone! But do look out for it, and perhaps also cross-browser usability. Yet again, I write about an older version, but under Firefox the demo Flutter apps were insanely slow (much more than under chrome)
- sgt 6y agoIt builds to HTML and JS using dartj2s. It chooses the canvas if on a desktop browser, and HTML on mobile. I chose to make the default HTML always, for predictability.