News for hackers. Stuff that matters.
Re:Flutter is the most popular cross-platform mobile SDK by akmarinov on Tuesday February 22, 2022 @06:45AM (#30426686)
Also: - People have to learn Dart, where React-versed devs are plentiful

- Can’t share code between the web app and the mobile app

Re:Flutter is the most popular cross-platform mobile SDK by stevewodil on Tuesday February 22, 2022 @06:55AM (#30426774)
Dart is pretty easy to learn and you can use the same code base for a web and mobile app if you were inclined
Re:Flutter is the most popular cross-platform mobile SDK by akmarinov on Tuesday February 22, 2022 @07:02AM (#30426828)
Sure, it's easy to learn, but why bother when you can just use React Native? Also there are a ton of senior people with lots of years of experience to hire, where Flutter seniors basically don't exist.

With React being prevalent on the web front, why would anyone do a Flutter web app + mobile app?

Re:Flutter is the most popular cross-platform mobile SDK by ToddWBurgess on Tuesday February 22, 2022 @07:29AM (#30427074)
Flutter release code compiles to AOT code which speeds up execution. React Native has the Javascript engine which can slow things down. For most of us here on HN, who are using flagship phones none of this really matters, however for other parts of the world that have less capable phones, the ability to run AOT compiled apps is a big deal. Flutter is a huge in Africa, mostly because it runs well on a lot of the popular phones there.
Re:Flutter is the most popular cross-platform mobile SDK by hunterb123 on Tuesday February 22, 2022 @08:18AM (#30427547)
Maybe in theory but JS JIT engines are very fast and Flutter can be janky especially on iOS.

Both will perform well, I've made advanced applications on RN that perform well.

Re:Flutter is the most popular cross-platform mobile SDK by stevewodil on Tuesday February 22, 2022 @12:54PM (#30431028)
They must exist because I’ve been passed up on senior flutter roles. It can’t be me, right?
Re:Flutter is the most popular cross-platform mobile SDK by encryptluks2 on Tuesday February 22, 2022 @06:59AM (#30426804)
Except I have yet to find a Flutter site that isn't bloated. It makes about as much sense to just focus on PWAs now.
Re:Flutter is the most popular cross-platform mobile SDK by voiture_rapide on Tuesday February 22, 2022 @08:51AM (#30427873)
Using Flutter Web now, and sharing code between web app and mobile. Early but working well for us.
Re:Flutter is the most popular cross-platform mobile SDK by sakarisson on Tuesday February 22, 2022 @09:42AM (#30428465)
How does web accessibility work if everything is rendered in canvas? Interested in the topic, but this would be a potential deal-breaker for me.
Re:Flutter is the most popular cross-platform mobile SDK by opencl on Tuesday February 22, 2022 @10:08AM (#30428834)
I'm not sure how it's implemented, but Flutter does work with screen readers.

https://docs.flutter.dev/development/accessibility-and-local...

Re:Flutter is the most popular cross-platform mobile SDK by marwis on Tuesday February 22, 2022 @04:30PM (#30434116)
Transparent DOM elements with aria attributes overlayed on top of canvas is a typical solution to this problem.