Live data from Hacker News

Flutter 2

developers.googleblog.com

271–280 of 780 posts

Re: Flutter 2

#271
post #208

Earlier quoted context omitted.

Question for the flutter devs - have you ever used The Internet?

Have you? https://developer.mozilla.org/en-US/docs/Web/CSS/user-select

Yes I have, which is why I know text can be selected by default in every web environment.

Re: Flutter 2

#273

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 disapp…

Maybe it's just me but I don't remotely think JS is a bad language since es6. Tooling is another story entirely.

Extremely same feeling here. Ditching IE11 support is a total game-change for the web. ES module imports just work and you don't have to go down a complex bundler rabbit-hole. Template literals make constructing HTML inside JS components a breeze. And if you do reach for a bundler the modern ones like snowpack and vite make the experience incredible with instant hot module reload on change--the feedback loop for development is like nothing I've ever experienced.

Re: Flutter 2

#274
post #137

Earlier quoted context omitted.

This sounds awful. Like some sort of bullshit DRM in a way. Now I'm thinking of all the ways I could get screwed here. * Not being able to copy transactions from my bank account * Not being able to easily send text to a read-later service (not sure if this necessarily depends on selectable text, but who knows, maybe selectable means the text isn't visible to these services now) * Not being able to easily copy somethi…

You know devs can already make text not selectable on the web, right?

Flutter: defaults to unselectable

Web: defaults to selectable

Flutter on Web: defaults to Flutter, not Web

Re: Flutter 2

#275
post #137

Earlier quoted context omitted.

This sounds awful. Like some sort of bullshit DRM in a way. Now I'm thinking of all the ways I could get screwed here. * Not being able to copy transactions from my bank account * Not being able to easily send text to a read-later service (not sure if this necessarily depends on selectable text, but who knows, maybe selectable means the text isn't visible to these services now) * Not being able to easily copy somethi…

You know devs can already make text not selectable on the web, right?

[deleted]

Re: Flutter 2

#276

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.

I would expect you to have come from a react background then? When evaluating technologies 1.5 years ago for the company I work at, I took a good look at comparing both react native, as well as flutter, and we decided on flutter. Now, out of the many considerations we had, in this process, "cannot copy the text" is... well, I have no idea what you are talking about. Are you referring to not being able to do this in a…

[deleted]

Re: Flutter 2

#277
post #126

Earlier quoted context omitted.

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…

We actually did try that as our first approach, but it really didn't give you the flexibility that Flutter developers expect. As the erstwhile editor of the HTML standard for ~10 years and the now TL of Flutter I must admit that it's weird to be creating a web framework that completely ignores all the HTML stuff I worked on before. :-) That said, Flutter is different from Flash in some important ways. Flash used the…

Well, good luck maintaining all of that 10 years from now. I can bet on the web being around, well developed and maintained in 2031.

Re: Flutter 2

#278
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…

[deleted]

Re: Flutter 2

#279
Am I missing something or on web does it render the entire UI in a ? I'm looking on the gallery[1] and that's what it looks like. They say they "added" accessibility, though. Does that mean that every bit of functionality you get for free in HTML needed to be re-implemented in canvas? Can you really trust that that abstraction is going to be air-tight?

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

Re: Flutter 2

#280

Earlier quoted context omitted.

In the context of the web, this seems like it should be a non-starter. Why should the developer be able to tell the user what can and cannot be selected?

Um. You can do this in HTML/CSS too.

Except it’s opt in rather than opt out.
Post reply on HN