Live data from Hacker News

Flutter 3

docs.flutter.dev

341–350 of 453 posts

Re: Flutter 3

#341

Earlier quoted context omitted.

> Flutter's performance issues, on the other hand, is a separate story. Can you expand on that? I know react native has performance issues but does Flutter have it too? Why?

React native has less performance issues, since it uses native toolkit. Flutter draws whole ui by itself: welcome to blinking cursor that consumes 5-15% CPU in idle.

> welcome to blinking cursor that consumes 5-15% CPU in idle.

Citation? Flutter draws its own UI but game engines do that too.

All code in flutter compiles down to native code.

> React native has less performance issues, since it uses native toolkit.

In theory.

Re: Flutter 3

#342

Earlier quoted context omitted.

> Apart from Qt , but the licensing issue is a hindrance. Most of Qt is available under the LGPL. Some application specific libraries are available under the GPL, but there's no reason you'd need to use them unless you have special use cases that their libraries would make easier to handle. > I just wish Google had built Flutter on a low level core that isn't tied to Dart, so it would be usable from other languages.…

We just built a desktop app with QML in a CMake-based Qt project, and I've been pleasantly surprised by the experience. Our brief experimentation with Qt Widgets, on the other hand, revealed a shocking level of dysfunction in basic UI-layout implementation, in what is supposed to be a very mature UI toolkit. But it seems that they're basically abandoning Widgets at this point, so ¯\_(ツ)_/¯.

> Our brief experimentation with Qt Widgets, on the other hand, revealed a shocking level of dysfunction in basic UI-layout implementation, in what is supposed to be a very mature UI toolkit.

That matches my experience. Getting Qt Widgets to resize in an even remotely sane way proved to be just about impossible.

Re: Flutter 3

#343

We have a react native app and sometimes it fails to build. We go to lunch, and come back no code change now it builds. I'm just sick of the NPM/Javascript bullshit. Does Flutter avoid all of these kinds of issues? I'm this close to scrapping the whole thing.

Flutter is miles ahead of React Native at least in this regard

Re: Flutter 3

#344

Google Flutter Team: You launched Flutter Desktop and got your promotions. Now can you please go back and finish Flutter Mobile? Specifically, please add: - Integration testing [0, 1] - Location [2] - iOS dark mode [3, 4] - iOS keyboard dismiss decoration [5] - iOS keyboard scroll-to-dismiss mode [6] - iOS NavigationLink widget [7] - iOS checkbox widget [7] - Android camera that doesn't randomly crash (unfixed for 3…

so much this

Re: Flutter 3

#345
post #335

Earlier quoted context omitted.

Is the Web version of Flutter still using canvas? I tried it a while back and it was just a canvas rendering everything. That makes SEO impossible. It's also useless for accessibility/screen readers. Please correct me if I am wrong.

https://docs.flutter.dev/development/platform-integration/we...

I'm curious if anyone can comment on their experience using the HTML renderer.

Re: Flutter 3

#346
post #49

What are big and highly used apps that use Flutter?

Google Home is the first thing that comes to mind. See here: https://flutter.dev/showcase

Home is so buggy on my iPhone, it's strange that it's part of the showcase.

Re: Flutter 3

#347
post #146

Earlier quoted context omitted.

For what it’s worth Dart is hands down the nicest OOP language I’ve ever used in my opinion. It’s like they took all the good things about JS and Java and cut out all the bad parts. What’s left is basically Dart.

> nicest OOP That's the thing. Dart is useless for my preferred style of programming. A modern language without ADTs and pattern matching is not even meeting my bare minimum for acceptable to use. Not just this, but the docs explicitly said the don't want these basic features.

They are building pattern matching as we speak for what it’s worth. One of the main people designing it is in this thread talking about it.

Re: Flutter 3

#348

People are talking about a better developer experience, but hardly anyone is talking about the user experience with apps built with this tech. I don't feel it's great, especially on older devices. Take google pay, a showcase flutter app. It's a laggy mess on an iPhone SE 2016, whereas the "old" google pay ran perfectly fine. On top of that, many google apps I use these days will just freeze and stop accepting touch i…

Is this really Flutter's fault or is it Google's? Google doesn't even support its own devices from 2016, so I doubt they'd optimize their apps for the iPhone SE 2016.

Keeping the baseline/core running smooth and efficient helps every device and every app, so they don't need to optimize for iphone se 2016 per se.

Re: Flutter 3

#349
post #104

Earlier quoted context omitted.

I have been developing in Flutter for a few years now, and I really enjoy the ecosystem. It is the only mobile development environment I have every really enjoyed using. When I started, flutter worked on mobile, and web support was in beta. Now, my app works on iOS/Android/MacOs/Web. If you are a small developer with limited resources for cross-platform development, its an amazing environment. As for Dart, it is actu…

Is the Web version of Flutter still using canvas? I tried it a while back and it was just a canvas rendering everything. That makes SEO impossible. It's also useless for accessibility/screen readers. Please correct me if I am wrong.

The answer to both of these things is the accessibility object model.

You weren’t wrong historically but you aren’t right currently.

Flutter web including the canvas rendering option has proper accessibility as of today AFAIK.

Re: Flutter 3

#350

I was recently tasked to build a mobile app at my work, that would have maybe 5% of the feature-set of our gargantuan web product. However, this 5% was mission critical. Coming from React-TS, building with Flutter was a bit weird at first (where's my CSS???) but the productivity gains came quickly. The Pub ecosystem is fairly mature, in that all the third party packages are pretty high quality and address most common…

Having used Flutter web in production, I would overall advise against it. It can be brilliant for building forms with elaborate validation logic - and quickly so, but once the site gets heavier and you add more complexity to it, the more issues will pop up. There are still major issues they haven't sorted out yet like occasional odd behavior with input fields and autofocus on Safari etc.
Post reply on HN