Live data from Hacker News

Flutter 2

developers.googleblog.com

111–120 of 780 posts

Re: Flutter 2

#111

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

I'm surprised too, they now have:

- MFC

- WinForms

- Windows Presentation Foundation

- Xamarin & Xamarin Forms

- Universal Windows Apps

- WinUI 2 & 3

- React Native fork for Windows (based on WinUI 2 migrating to WinUI 3)

- React Native fork for Mac (based on AppKit)

And now they also contribute to Flutter, wow.

Re: Flutter 2

#112
We're all complaining about how js is a bad language, tooling is a mess, and how the web is fundamentally built for documents and makes it hard to create app-like experiences. Now, Google comes and creates a whole new UI toolkit from scratch, couples it with a very beautiful SDK and component framework and offers a far better programming language than js could ever be but we're still nagging. I was also pretty disappointed with the demo at flutterfolio.com that is supposed to show how great Flutter 2.0 for the web is. It's not that good but it's gonna get there eventually, given the hype around wasm and technologies. Not to mention that Flutter is already better and easier to use than the existing native tools for both Android and iOS. I believe Flutter is an extremely ambitious project and I appreciate that Google is really trying to give an answer to the problem of cross-platform UI development.

Re: Flutter 2

#113

I want to love Flutter. But once looking at it, it's a no go. It's the new flash. Really, you cannot copy the text anymore. React native is my goto solution now.

Yeah I feel the same, love the idea but I’m never going to be able to convince a team to drop TS for dart..

Re: Flutter 2

#114
post #87

Earlier quoted context omitted.

I've tested on my phone (1yr old pretty good Android one) and the whole thing is very laggy runs with like 10fps. What about a11y? The whole thing feels like Adobe Flex in 2010. It solves a great deal of problems that the web had but introduced a plethora of others.

[Flutter Eng. Dir. here] Still relatively early days for Flutter Web, so I would not be shocked if it's not buttery everywhere. However, we would certainly love to learn more. fluter.dev/support has links as to how to file an issue if you're interested. https://flutterplasma.dev/ is one demo to try. We expect to be updating flutter.dev/web and flutter.dev/showcase to update more over time.

>Still relatively early days for Flutter Web

Spoken like a true product evangelist. Good palm off with the "create a ticket" too.

Re: Flutter 2

#115
post #41

> Google Pay switched to Flutter a few months ago for their flagship mobile app, and they already achieved major gains in productivity and quality. By unifying the codebase, the team removed feature disparity between platforms and eliminated over half a million lines of code. from pay.google.com > Starting April 5, you won't be able to use pay.google.com to send and receive money from other people. To send and receiv…

The website and the app are two different things.

> the team removed feature disparity between platforms

Re: Flutter 2

#116

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. […

I just tried it on an iPad Pro with Safari. Clicking the tiles does not work, scrolling does not work with the touchpad, and overall it feels very janky. They probably didn‘t care to optimize / make it usable with Safari.

Re: Flutter 2

#117
post #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 ( h https://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.

iPad Safari on 200/100Mbps connection.

* The page takes about 20s to load.

* After pressing Run, nothing happens for 10s, then Click me! text appears.

* On clicking the text, nothing happens.

* On clicking it a few times, the page crashes and reloads.

Re: Flutter 2

#118

So how does it run natively on desktop? Is it like electron? Can't tell from the linux example

Not like electron at all. It compiles down to a native binary for the OS.

Eh, it's a little murky. I was playing with dart a little. It can in fact create a single binary, but it looks like it's just putting the interpreter with the code.

I say that because if you strip or pack the binary, instead of working it shows the output of running dart with no arguments.

Re: Flutter 2

#119

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. […

It is very janky, and worse, totally unaccessible, rendering it useless (or frustrating at best) for huge numbers of the population. And why? It's just yet another shiny web framework. We've known how to build websites for decades now.

Just wait until you hear about this new technology called HotWire! Revolutionary.... /S

Re: Flutter 2

#120
post #103

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. […

If it's running on canvas, normally you would see "unpkg.com/canvaskit-wasm" - and even then it may not be the latest (supposedly more optimized) version. For example, my simple Super Tic Tac Toe app - uses it - https://malkia.github.io/tictactoe/#/ - but the gallery was compiled to use HTML, instead of canvas - which would be slower (IMHO). I think there is even mixed mode - where it can choose one or another ("fat"…

It is. I have wasm disabled and it throws an error:

    Uncaught ReferenceError: WebAssembly is not defined
and it includes what you mentioned, unpkg.com/canvaskit-wasm@0.24.0/bin/canvaskit.js:150
Post reply on HN