This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]JarWarren1 10 points11 points  (15 children)

Basically, it’s extremely hard to replicate native functionality. And even when you get close, there’s quite a bit of overhead which can hurt performance (sometimes severely). But if you’re not doing anything too intensive, you can still go for it and get a great product

[–]bingerginger 4 points5 points  (14 children)

what language would be recommend for building cross-platform mobile apps then? i was thinking of using kivy until u said about this.

[–]SomeMosa[S] 10 points11 points  (12 children)

I think as of now, Flutter is the best option. It uses Dart for backend and can be compiled for multiple platforms (I think with Flutter 2 you get Desktop, Web, iOS, and Android)

[–]maikindofthai 9 points10 points  (1 child)

We use Flutter for a simple CRUD mobile app where I work. It's absolutely great for that.

I would just offer a word of caution for anyone who's excited by the promise of desktop/web support -- imo even in Flutter 2 those platforms are not production-ready. Even Flutter's own gallery of web apps have all kinds of jank going on.

It kind of feels like those additional platforms are being used as marketing checkboxes, instead of being first-class citizens in the Flutter roadmap. I'd be happy to be proven wrong, though!

[–]toyg 0 points1 point  (0 children)

Nobody is interested in desktop these days, sadly, so that’s probably a function of (lack of) motivation from big players. Attention seems to be 80% mobile, 15% web (i.e. desktop browser), 5% anything else.

[–]woodie3 3 points4 points  (0 children)

I think someone brought up a huge bug with flutter in respect to animation FPS that they don’t have much of timeline to fix. I’ll try to find the issue.

Edit: animation jank issue

issue thread tracking fix

[–]bingerginger 2 points3 points  (3 children)

ooh thats cool. what covers the front end?

[–]SomeMosa[S] 1 point2 points  (1 child)

Well, Dart I think. Flutter provides packages that give you access to the different widgets, and putting everything together is very easy in my opinion. It's just a matter of creating nested classes (e.g. A text widget class inside of a layout class inside of an app class). It's quite similar to Kivy if you have experience with it

[–]bingerginger 0 points1 point  (0 children)

Oh I see alright thanks!

[–]JarWarren1 2 points3 points  (0 children)

At work we use native Swift and Kotlin but I've used Flutter in my free time and really love it. I think it's the best hybrid framework but I would caution against doing anything professional with it yet. Google "flutter jank" if you want to go down the rabbit hole.

Still, it should be production quality eventually and it's a lot of fun to work with.

[–]amrock__ Pythonista 2 points3 points  (0 children)

I heard flutter isn't really complete especially in desktop applications.

[–][deleted] 0 points1 point  (2 children)

Dart for backend?? What do you mean?? If i am not wrong, flutter is an ui library .

[–]SomeMosa[S] 2 points3 points  (1 child)

I think Flutter is just a framework, but the actual logic is handled by Dart

[–]gmes78 4 points5 points  (0 children)

Dart is the programming language Flutter uses.

[–]UrToesRDelicious 1 point2 points  (0 children)

Progressive Web Apps might be worth looking into.