News for hackers. Stuff that matters.
Re:Google's cross-platform Flutter UI toolkit goes 1.0 by wootie512 on Tuesday December 04, 2018 @02:05PM (#18602614)
I have been a freelance Android Dev for past 4 or 5 years. I have recently built out a flutter app for a client. And honestly I am now looking for more Flutter work.

UI development in Android is such a pain and I feel like I spend most of my time trying to get the UI just right. With Flutter I am building UI so much faster and getting to focus on the actual logic of the code. Dart was fine, I learned it as I went. I enjoy it more than Javascript but like Kotlin much more.

The app I built with Flutter was pretty straightforward, so I haven't stretched the platforms capabilities, but hoping I get the chance to.

Re:Google's cross-platform Flutter UI toolkit goes 1.0 by weberc2 on Tuesday December 04, 2018 @02:56PM (#18603073)
I haven't touched Android development since 2012. I remember the experience being a terrible hodge-podge of XML and Java which effectively required an absolutely attrocious IDE and an impossibly slow emulator. I assume things have changed since then, but I wonder by how much and if Flutter's workflow skirts any of these issues altogether.
Re:Google's cross-platform Flutter UI toolkit goes 1.0 by rhodysurf on Tuesday December 04, 2018 @03:00PM (#18603105)
Those are still the not fun parts to work with in Android, although its better now kotlin extensions so you no longer have to refer to the XML directly to manipulate views.

Flutter doesn't use any of that, you just code and thats pretty much it. No XML or anything, and you can use VSCode which is a lot lighter than android studio.

Re:Google's cross-platform Flutter UI toolkit goes 1.0 by kllrnohj on Tuesday December 04, 2018 @07:21PM (#18604742)
> I assume things have changed since then

Yes, tremendously so. It's still XML for basic UI, but Kotlin is the primary language of choice these days, Android Studio is a solidly world-class IDE, and the emulator is very fast.

> but I wonder by how much and if Flutter's workflow skirts any of these issues altogether.

Flutter uses the regular Android emulator, and although you have more editor choice the recommended was to just use a plugin for Android Studio.

Re:Google's cross-platform Flutter UI toolkit goes 1.0 by freedomben on Wednesday December 05, 2018 @12:08AM (#18605812)
Is there any alternative to XML? How often do you find yourself hacking XML directly?
Re:Google's cross-platform Flutter UI toolkit goes 1.0 by kllrnohj on Wednesday December 05, 2018 @01:23PM (#18610952)
Your layouts & styles are typically all in XML. But honestly I don't find it bad - it's not "proper" XML, so there's not a ton of cruft. It's really more like XHTML.

It works fine.

Re:Google's cross-platform Flutter UI toolkit goes 1.0 by rhodysurf on Tuesday December 04, 2018 @02:59PM (#18603094)
Dart is "Fine" is the perfect description. It is pretty basic, but pleasant enough to use that it doesn't get in the way.

Kotlin, swift, rust, etc are more fun languages for me but Flutter is productive enough with Dart I am not about to ditch if becasue the language is decent at best.

Re:Google's cross-platform Flutter UI toolkit goes 1.0 by H1Supreme on Tuesday December 04, 2018 @04:24PM (#18603719)
> UI development in Android is such a pain

Have you implemented any layouts using the Constraint Layout? Normally, I'd agree with you, but I find the Constraint Layout pretty great for designing UI's. The "glued together" approach makes responsiveness a breeze, imo.

Re:Google's cross-platform Flutter UI toolkit goes 1.0 by Ylodi on Wednesday December 05, 2018 @05:18AM (#18607030)
Are you familiar with Kotlin and Anko?
Re:Google's cross-platform Flutter UI toolkit goes 1.0 by megaremote on Wednesday December 05, 2018 @01:04AM (#18606015)
Can I ask was the UI quite simple?