Live data from Hacker News

Flutter 2

developers.googleblog.com

201–210 of 780 posts

Re: Flutter 2

#201
post #172

Honest question, what's Google's angle with flutter? It's one thing to be develop a toolkit for platforms they have a vested interest in, it's an entirely different thing to create such a toolkit for all platforms, including their competition.

The answer to these types of questions usually boil down to: Google wants to improve the web experience for everyone. They are the biggest benefactor of the web today, so it makes sense they have the most to gain the more pleasant the web experience is.

Also I think they are looking to get revenue with their own Cloud services that integrate seamlessly with Flutter. For example Firebase is the #1 backend most Flutter Devs use.

Re: Flutter 2

#202

Earlier quoted context omitted.

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

Notation is highly variable in math. Take a look at penrose notation [1] as example of just how different they can be. Most mathematics books will have a definition section in the front stating their notation choices because things are so fragmented. Good luck trying to read something like Russell's PM without a notation guide open alongside it.

[1] https://en.wikipedia.org/wiki/Penrose_graphical_notation

Re: Flutter 2

#203
post #197

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…

I just visited flutterfolio.com. The very first thing I tried to do is enter a username and Tab to the password field. But Tab just catapulted my input focus to the browser address bar. I mean, come on.

Strange - I didn't see that behaviour, then did on a reload, then didn't again on the next reload. ??

Re: Flutter 2

#204
post #72

Earlier quoted context omitted.

Thanks for the link. To confirm the point of copying text being broken: try doing that at https://flutterplasma.dev/ -- it kind of works, but not really, no.

Ah fuck me. This is awful. You have to be precisely on the text to select it. I frequently offset my mouse a little to the left of the element to ensure I select the whole text. Even a little bit off to the left and nothing. I love the idea, but this sounds like it's going to be unpleasant for me. Hopefully they figure out these UX things.

Ew, you can't select across lines of text, even.

Re: Flutter 2

#205
post #78

Earlier quoted context omitted.

Check out Flutter Folio [1], built in partnership with Google. Right-click is actually disabled, so you can't even open the "Create account" link in a new tab, nor can I right click an input to autofill with my password manager. You can't inspect any image rendered to the canvas element. Furthermore, you also can't blur the form input (although that's probably application specific rather than Flutter's fault). [1] ht…

(disclaimer: I work on the Flutter team) The "Create account" link isn't popping up the right-click menu because it doesn't use the Link widget. You'd get the same thing in plain HTML if you used a with a custom click event listener instead of . It's a simple bug to fix; totally up to the app developer. I think issues like that will inevitably pop-up as we have developers coming to the web from other platforms, where…

> Perhaps it's fixable via education and platform-specific guidelines.

I think this is right, but I also think it should be clear to everyone (i.e. in the first tutorial) that not using a Link widget will make this work wrong for all sorts of accessibility and UX reasons. And the Link widget should work across platforms and implement the equivalent of page history correctly.

Maybe it's worth writing down somewhere what the equivalent of each tag from HTML is; what is the canonical way to create an h2, input, textarea, button, a, img, etc.

Re: Flutter 2

#206

Earlier quoted context omitted.

[Flutter Eng. Dir here] The initial GPay Flutter release definitely had some performance rough spots. We've learned a lot from working with that team since release and have made resulting changes in both Flutter and the app code. GPay hasn't released since December last I checked, but I expect the next release should perform better on both iOS and Android and we will be continuing to work with them closely over the c…

How is this still such a problem in the modern era where major software is released that becomes unusably slow on multi-core cutting edge phones?

just an assumption, but probably because even though it comes from the same company, even on android flutter is not a first-class citizen...?

iow, maybe they dont have access to all the internal implementations that give the native toolkit higher performance...

can anyone clarify that?

Re: Flutter 2

#207
post #65

Pretty sure I'm the only person on this thread who loves flutter. We use flutter web and Firebase for our hobbyist project, and the results have been simply amazing. Dart makes Typescript look like a joke. The build system alone makes flutter better than React Native ! I'm confident in being able to build any CRUD app in dart Edit, in fact how many of you have actually built a project in flutter .I can't believe anyo…

Can you share any example of Flutter Web that isn't a extremely basic Todo app, doesn't completely break regular browser UX and works without being slow as molasses? I haven't seen one. I like Flutter, but I don't think the Flutter Web design is very viable for production apps. It renders everything in canvas. Dart is already sluggish on native, and cross compiled to JS it's usually unusable. I think Flutter will be…

https://rive.app/ is built with Flutter. I use it a lot works very well for me. It's a good example imo of the kind of website that Flutter is a good fit for.

Re: Flutter 2

#208

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.

Flutter team member here. In Flutter, the developer consciously decides which text should be selectable (and thus copy/paste'able), so while it's true that text is not inherently selectable in a Flutter app, text that the app developer decided to make selectable will be.

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

Re: Flutter 2

#209
Flutter is winning the race in cross platform development. I have been using Flutter for past few days, and I really like the package on whole, tools and community. Having used Xamarin and Qt in the past, Flutter is a lot easier to learn.

Re: Flutter 2

#210
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.

[deleted]
Post reply on HN