Live data from Hacker News

Flutter 2

developers.googleblog.com

31–40 of 780 posts

Re: Flutter 2

#31

I recently discovered Flutter and I love it for making mobile apps. The multiplatform by default with good API and stability is a winning combination. Lots of modern language features from Dart and built in support for two way binding makes GUI programming much easier. I much prefer it to React Native.

What is the API story like now? When I first looked before version 1 was stamped you had to search for 3rd party plugins for features like accessing the camera and such.

Re: Flutter 2

#32

I long for the day when software development steps out of its infancy and we have one programming language that targets all platforms and frameworks. Kotlin is pretty great - so you're in this situation where you can either learn Flutter or JavaScript - at least with JavaScript you can also target the web (I'm aware that Flutter 2 also can target the web, but it's not the same thing). edit: I must clarify - I'm not s…

This strikes me as akin to wishing for mathematics to step out of its infancy and adopting a single notation.

I don't understand - Math is a great example because the notation is bounded across all disciplines of math. Can you imagine if Physics used different "math" and "notation" compared to Chemistry or Computer Science? You don't have to learn a different math to understand different disciplines in the same way you have to learn different programming languages to understand different programs.

Perhaps I'm misunderstanding you.

Re: Flutter 2

#33

I was honestly surprised to see Microsofts name on there as a contributor

Classical MS move: spending more efforts on competing technologies than on their own (in this case dotnet).

Re: Flutter 2

#34
post #7

Flutter for Web feels like such a wild step backwards in terms of functionality that I'm not sure the benefits it brings are worth it. I just tried a few samples, and basic interactions like selecting text, saving images, and opening links in new tabs don't work. This is the result of rendering everything to a element. I'm much more interested in a React Native style approach, which seems to provide a consistent set…

Yeah, I haven’t been following Flutter, but I’m surprised their approach to the web is just shipping their entire custom layout/drawing code in WebAssembly and drawing everything with canvas. I would have expected them to actually port their native UI components (buttons, links, text, etc.) to their corresponding native components on the web, and maybe ship a custom layout engine if CSS layouts aren’t flexible enough.

Re: Flutter 2

#35
The idea sounds very appealing, especially to an indie developer: being able to ship your app on multiple platforms from a single codebase is kind of the holy grail. Unfortunately, the result is....

I tested this Flutter example[1], on a 16" MBP with and i7, and it is janky as it can get, it feels like I'm using a 15 year old computer. From the code it looks like the whole thing is... rendered on canvas? I'll pass.

[1]: https://gallery.flutter.dev/#/

Re: Flutter 2

#36
This is definitely interesting; I'm so tempted to try this.

But the question that comes to mind with this kind of the technology from Google: is there any mandatory Google services that I'd have to use? Just as an example: Do I have to use Google's ad platform or I can use any other service?

Re: Flutter 2

#37
post #7

Flutter for Web feels like such a wild step backwards in terms of functionality that I'm not sure the benefits it brings are worth it. I just tried a few samples, and basic interactions like selecting text, saving images, and opening links in new tabs don't work. This is the result of rendering everything to a element. I'm much more interested in a React Native style approach, which seems to provide a consistent set…

Yeah, I haven’t been following Flutter, but I’m surprised their approach to the web is just shipping their entire custom layout/drawing code in WebAssembly and drawing everything with canvas. I would have expected them to actually port their native UI components (buttons, links, text, etc.) to their corresponding native components on the web, and maybe ship a custom layout engine if CSS layouts aren’t flexible enough…

Gtk tried the same with broadway. It went nowhere.

Re: Flutter 2

#38
I don’t think Flutter offers enough value over Electron to justify learning Dart and leaving behind the vibrant tooling and package ecosystem that JavaScript has.

Re: Flutter 2

#39
post #7

Flutter for Web feels like such a wild step backwards in terms of functionality that I'm not sure the benefits it brings are worth it. I just tried a few samples, and basic interactions like selecting text, saving images, and opening links in new tabs don't work. This is the result of rendering everything to a element. I'm much more interested in a React Native style approach, which seems to provide a consistent set…

The example spinner ( hhttps://flutter.dev/#dartpad-landing-page ) also looks pretty choppy on my Macbook Pro 16. I haven't tried on lower-specced devices, but it doesn't inspire a lot of confidence.

Re: Flutter 2

#40
The real news is buried a little towards the bottom:

> Today we’re announcing the beta release of Google Mobile Ads for Flutter, a new SDK that works with AdMob and AdManager to offer a variety of ad formats, including banner, interstitial, native, and rewarded video ads. We’ve been piloting this SDK with several key customers, such as Sua Música, the largest music platform for independent artists in Latin America, and we’re now ready to open the Google Mobile Ads for Flutter SDK for broader adoption.

Post reply on HN