3 ms·
Not really. Flutter has its own layout rendering engine, and uses low level APIs in the browser to circumvent the default rendering. This is what allows Flutter
by augustl 7y ago
Not really. Flutter has its own layout rendering engine, and uses low level APIs in the browser to circumvent the default rendering. This is what allows Flutter to do, say, efficient table views on the web, which is kind of a holy grail of web rendering.
SwiftWebUI currently seems to rely on normal rendering:
> SwiftWebUI tries to replicate common SwiftUI layouts, but doesn’t fully succeed yet. After all it has to deal with the layout system the browser provides. Help wanted, flexbox experts welcome!
- kenshi 7y ago> Flutter has its own layout rendering engine, and uses low level APIs in the browser to circumvent the default rendering. Does this mean that Flutter on the web is really Flutter on Chrome? Or does is support other web browsers well?
- chrismorgan 7y agoSee https://flutter.dev/web https://flutter.dev/web. They claim use of DOM and CSS, but the demos I just looked at are rendering completely to canvas, with an empty accessibility tree and effectively no CSS.
- augustl 7y agoSeems like it. Text is not selectable in the latest version of the flutter web preview, for example. But it's an early tech preview version, so I'll judge it more harshly when it's 1.0 :)
- augustl 7y agoIt works fine in Firefox and Safari too in my experience (just a small pet project). Not on EDGE though. But it is a technical preview after all.
- munificent 7y agoIt's still in tech preview, so there are likely to be bugs on various browsers, but Flutter for web compiles to standards-compliant JS/DOM/HTML/CSS so should work in any compliant browser.