can dart do desktop apps

1,124 views
Skip to first unread message

Ali M

unread,
Apr 6, 2018, 12:47:22 AM4/6/18
to Dart Misc
I did search
And it seems the platforms targeted by dart are
mobile via flutter and web via dart angular

this seem to remain the same for dart2

but are there plans for flutter to target the desktop linux and windows
or is there any popular 3rd part library  (i guess it would have appeared in search if it was popular) for the desktop

thanks
Ali

Joao Pedrosa

unread,
Apr 6, 2018, 9:48:50 AM4/6/18
to mi...@dartlang.org
Hi,

There are some projects experimenting with the idea of Flutter on the Desktop. It's more likely
that these projects will see more traction on Linux and Mac than on Windows though, because
Linux and Mac are development platforms for Google, whereas Windows is just a deployment
platform that is seeing its use diminish over time. Google have stopped developing many
projects for the Windows desktop over time like Picasa and so on, preferring to move them
to the server side and mobile instead.

Google are trying to be very focused on their goals for the Dart and Flutter projects. You should
trust what they say about their intentions. Think for example that Dart may be focused on 64 bit
platforms. That would leave out backward compatibility with 32 bit platforms. It is true that 32 bit
is outdated though. That is an example that Google are trying to aim these projects at the future.
And the desktop is a big reminder of the past, by comparison.

Google have been investing in a new operating system called Fuchsia. It is more likely that you
will see Flutter getting used on this Fuchsia OS instead.

On the desktops you may have to resort to emulators. You could target mobile and/or Fuchsia
and use emulators on Windows for example.

We cannot compare Dart and Flutter to other projects like NodeJS, Electron, etc. I don't think
Google want to recreate those platforms in Dart per se. Google are already committing a lot
by supporting Flutter. As those bug reports on the Flutter project are a reminder of. Now, Google
are more than fine with the community coming up with new projects based on Dart and Flutter
if they want to. But the way I see is that most people will be waiting till these projects are stable
again. (i.e. take backward compatibility seriously.)

Cheers,
Joao







--
For more ways to connect visit https://www.dartlang.org/community
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.
To view this discussion on the web visit https://groups.google.com/a/dartlang.org/d/msgid/misc/bf7e4fad-7846-4c38-9419-0a50510df79a%40dartlang.org.

Anatoly Pulyaevskiy

unread,
Apr 6, 2018, 11:53:36 AM4/6/18
to mi...@dartlang.org
The most promising experiment today is
https://github.com/google/flutter-desktop-embedding

It is an experiment at this point and doesn’t include much. But it’s a good starting point for anyone willing to explore this area.

Tobe Osakwe

unread,
Apr 6, 2018, 1:34:30 PM4/6/18
to mi...@dartlang.org
Another option is using Dart within Electron. With build_runner and DDC, you can get pretty nice incremental builds for a nice dev experience without all the webpack concerns. Along with package:node_interop, you’re more or less set.
Reply all
Reply to author
Forward
0 new messages