r/FlutterDev • u/tilley77 • Mar 07 '21
Article Ubuntu Makes Flutter 'Default Choice' for Future Desktop Apps
https://www.omgubuntu.co.uk/2021/03/ubuntu-building-apps-with-flutter-in-future34
u/augst1 Mar 07 '21
Silly question but how were apps made for Ubuntu before?
18
14
u/lovebes Mar 07 '21
Standard gui programming using Tk for Gnome or KDE I would suspect... Like any Linux distros.
5
-6
u/Sethu_Senthil Mar 07 '21 edited Mar 08 '21
Yeah lol wondering the same thing. I'm a developer and I never thought about this before. Usually, when I think of Linux apps they are all CLIs. But now that I think of it, I think a lot of them are written on electron
Edit: I think people miss understood me, I was taking about cross platform Linux apps
0
Mar 07 '21
[deleted]
-7
u/Kevlar-700 Mar 07 '21
So it will still be gtk as that is what flutter for linux desktop uses.
12
u/m9dhatter Mar 07 '21
The only GTK part is the window and canvas. Buttons and forms are probably going to be on a canvas like any other Flutter app.
7
u/ozyx7 Mar 07 '21
Flutter's MO is to paint its own widgets using Skia, not to use the platform's native widgets. My understanding is that Flutter for Linux desktop renders into a GTK window, and that there is an extension that exposes GTK libraries, but I don't think Flutter for Linux desktop apps generally will be using GTK widgets.
0
Mar 07 '21
[deleted]
-5
u/Kevlar-700 Mar 07 '21
No. I am telling you that fllutter builds a linux binary using gtk which it downloads.
0
Mar 07 '21
[deleted]
-3
u/Kevlar-700 Mar 07 '21 edited Mar 07 '21
I would have thought that was obvious, however gtk headers are part of the build process. Thankfully it uses it's own cross platform widgets, yes.
Edit: gtk use has nothing to do with ubuntu.
3
u/rin-Q Mar 08 '21
Yes okay, saying it this way makes sense. We agree on this. Headers are used in the build process, but it doesn't make the Flutter Desktop app a GTK app, which your original comment led to understand.
My (limited) understanding of headers is that they're basically hooks, and so in this case, we're referring to Flutter Desktop using GTK's hooks, not the actual toolkit, in the build process so that the app will behave in closer accordance to the Gnome/GTK-based DE settings.
So yes, the app is built with the headers used by GTK.
Edit: gtk use has nothing to do with ubuntu.
Of course GTK use has nothing to do with Ubuntu, except that Ubuntu is using GTK for its DE, Gnome, which is I presume why it needs these headers.
0
u/Kevlar-700 Mar 08 '21
Of course GTK use has nothing to do with Ubuntu, except that Ubuntu is using GTK for its DE, Gnome, which is I presume why it needs these headers.
I have never been a gnome user. The flutter app will work almost identically (differing window menu options, theming) on kde or openbox etc..
→ More replies (0)
13
u/bsutto Mar 08 '21
I have been using dart to build all our cli apps on Ubuntu for close to two years now.
We have replaced bash, Ruby, go, rust and C all with dart.
Maintenance is now much easier.
4
u/Terrain2 Mar 08 '21
oh cool 2.12 is stable now
time to stop procrastinating for a deadline i thought meant “somewhere in the middle of Q2”, not “right at the start of spring”
4
1
u/NatoBoram Mar 07 '21
Oh my god I hate articles that quote themselves.
Web-based tech has supposedly been “the next big thing” on desktop (and mobile, to an extent) for as long as I’ve been writing this blog… And yet it never quite happens. Not in the all-conquering, no-brainer, avalanche of adoption predicted.
People have long said web tech will be the ‘next big thing’ on desktop, yet it never quite happens
I just read that, FFS.
15
u/paxinfernum Mar 07 '21
I mean, it's called a Pull Quote. It's not there because they think you haven't read it. It's there in a large font to catch the eye of potential readers before they flick away to something else. It has a long history going back to print. The idea is to get a few key ideas as eye-catchers.
1
u/mintwurm Mar 10 '21
I don't like it either.
And what about Spotify, vs code, slack, discord, evernote...
Those are electron apps, and they are everywhere.
-2
u/Kevlar-700 Mar 07 '21 edited Mar 07 '21
flutter for linux desktop uses gtk. Of course they have the option of web, if needed for remote installs, if they build backend facilities in.
1
u/Kevlar-700 Mar 07 '21 edited Mar 07 '21
This article isn't very accurate. Also performance on mac is not brilliant in all circumstances currently. Simply because Apple dropped the OpenGL standard and require the use of metal (issues with lacking shader caching apparently). It's quite impressive that it runs as well as it does on macs. Not sure why mac performance is even mentioned in a linux article where OpenGL 2 and OpenGL 3 are still supported.
-3
u/scorr204 Mar 07 '21
Repost
9
u/bradofingo Mar 07 '21
I don't think it is a repost.
The previous Ubuntu announcement was about the app installer built with flutter.
This is about the desktop apps to be built with flutter.
-4
18
u/tilley77 Mar 07 '21
As someone who kicked around Flutter native apps on Ubuntu/Linux when it was alpha, I am excited by this announcement.