Live data from Hacker News

Flutter for Linux

snapcraft.io

81–90 of 225 posts

Re: Flutter for Linux

#81
post #10

Google needs to release desktop apps in Flutter (Youtube Music, Chat, Meet etc..). a Webapp is fine for occasional use, but Google Chat can't compete with Slack without a real app.

Their focus seems to be full-on installable PWAs for everything, which YT Music and YT TV already having them (and PWAs are only marginally better than Electron since they all share the same parent chrome process).

Re: Flutter for Linux

#82
post #53

Earlier quoted context omitted.

> command-line tools or local utilities. FFI is quite a PITA, though. Soomer or later you will have to interface some platform libraries, and Dart doesn't make that easy.

> FFI is quite a PITA This is what made me nope out of it last time I experimented with a Flutter module in my app. I'm still watching it closely though as it could be a great fit for other projects.

This might be outdated opinion (hard to tell without OP explaining what he finds "a PITA").

dart:ffi (https://dart.dev/guides/libraries/c-interop) is a recent addition to Dart and from where I stand it's a decent FFI system.

Maybe not as good as PInvoke in C# or ffi in luajit but better than, say, jni in Java (and any other FFI system that requires you to write glue code in C i.e. python, ruby, nodejs).

Re: Flutter for Linux

#83
post #28

I have a request for all the Flutter folks/fans - it would be great if you all can say something about how you can get over / stay sane with the staircase looking nesting of code blocks and how you manage to keep it all in your head to navigate the code base. I started my career writing single threaded Palm OS apps (64k limit) - there was like 10 possible widgets with 5 possible events on each widget and rest of it w…

You can also use Flutter Inspector - a UI tree representing your runtime layout. It allows to quickly jump between widgets

Re: Flutter for Linux

#84
post #66

Interesting that Flutter "Desktop support" exists for macOS and Linux, but not Windows.

It does exist for Windows (i.e. I compiled and ran Flutter app on Windows).

It's just slightly behind macOS and Linux in maturity.

In general desktop support is "early alpha" quality.

I'm hoping that in a year or two Flutter will be a solid option for mac/linux/windows desktop apps.

For now we have to accept that it's an alpha quality software.

Re: Flutter for Linux

#85
post #52

So, this makes Flutter apps available through Canonical's Snap store... which is Ubuntu-mostly right now, and controversial enough that the top item on the HN front page as I write is about an Ubuntu derivative (Linux Mint) explicitly dropping support for it. https://news.ycombinator.com/item?id=23771847

Other distributions also use the Snap Store.

See the stats for the Skype snap package for the range of Linux distributions, https://snapcraft.io/skype

Re: Flutter for Linux

#86
post #10

Google needs to release desktop apps in Flutter (Youtube Music, Chat, Meet etc..). a Webapp is fine for occasional use, but Google Chat can't compete with Slack without a real app.

Totally. You definitely can't compete against Slack's desktop app with web technologies: https://slack.engineering/building-hybrid-applications-with-...

Personally I can't tell the difference between the slack app and slack open in my browser. It is literally identical. In Firefox, I can even go "full screen" but still control the size and location of the window, so I don't have to look at the tab bar. Side by side, I can't tell them apart visually or functionally.

Maybe the Linux version of electron is neutered in some way? I read article you linked and I don't know what bouncing the dock means, maybe that's an important native feature for mac users?

Re: Flutter for Linux

#87

Does Flutter have a native HTML widget yet? It didn't when I first started poking around with Flutter, and a quick Google doesn't reveal anything first-party.

WebView is such a core component.

In the interests of completeness, Flutter.dev really ought to bundle an android-like webview component in the core libs.

It really breaks the WORA value prop if you need to if-elif your way around platform specific impls.

Re: Flutter for Linux

#88

Earlier quoted context omitted.

I've been using Flutter in the last few months and agree. It's the best multi-platform solution for mobile , although it still doesn't match native behavior and performance, it only gets close. On the web it's DOA for most use cases - it's just a canvas, so scrolling, text selection, shadow rendering, etc. is custom, doesn't feel native and must be downloaded and compiled. It can have a future on desktop. One "cultur…

I wish the dart/flutter team would focus on improving dart for web (e.g. by updating/fixing the JS bindings) instead of chasing flutter for web which seems like a long shot and rather hacky (referring to using the canvas for rendering content)

> using the canvas for rendering content

This sounds like Flash all over again. Let me guess - no native text select, copy & paste supported? Scrolling is "wrong" in a subtle way?

Re: Flutter for Linux

#89
post #52

So, this makes Flutter apps available through Canonical's Snap store... which is Ubuntu-mostly right now, and controversial enough that the top item on the HN front page as I write is about an Ubuntu derivative (Linux Mint) explicitly dropping support for it. https://news.ycombinator.com/item?id=23771847

Until SNAP gives me full control (and not just: you can opt-out) over updates/upgrades they're a non-starter.

Does snap not let you manually do those?

Re: Flutter for Linux

#90

Earlier quoted context omitted.

I wish the dart/flutter team would focus on improving dart for web (e.g. by updating/fixing the JS bindings) instead of chasing flutter for web which seems like a long shot and rather hacky (referring to using the canvas for rendering content)

> using the canvas for rendering content This sounds like Flash all over again. Let me guess - no native text select, copy & paste supported? Scrolling is "wrong" in a subtle way?

Tie it in with AMP and you have the webdev cocktail from hell.
Post reply on HN