Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde...
by networkimprov on Tuesday May 07, 2019 @05:53PM
(#19853794)
Maybe Flutter works as a client to a native localhost app? (Analogous to the browser for a localhost web app like Jupyter Notebook[1].)
Does it have a Websocket client?
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde...
by kllrnohj on Tuesday May 07, 2019 @07:20PM
(#19854371)
There's no reason to bother with websocket stuff, you can just call out to native code via platform channels ( https://flutter.dev/docs/development/platform-integration/pl... )
Just that once you do that you're no longer a portable cross-platform app, and there's limits to what you can do with that pipe in terms of data marshaling and the overhead from that.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde...
by networkimprov on Tuesday May 07, 2019 @07:40PM
(#19854504)
Unless you're porting an existing localhost web app which is accessed via Websockets.
It's really not unlike the web platform. If you're in the semi-narrowly supported "good" path it's great, but if you hit the limits of things you're pretty much immediately out of options.
And also really bad interop with some really critical components like WebView.