News for hackers. Stuff that matters.
Re:Flutter 2 by fwip on Wednesday March 03, 2021 @02:48PM (#26333409)
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 by timsneath on Wednesday March 03, 2021 @02:51PM (#26333450)
Yeah, that's running in development mode, since it's a scratchpad for live coding. Try something like https://flutterplasma.dev for an example of Flutter's web support when compiled in release mode.
Re:Flutter 2 by krasin on Wednesday March 03, 2021 @02:58PM (#26333559)
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.
Re:Flutter 2 by renewiltord on Wednesday March 03, 2021 @03:02PM (#26333628)
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.

Re:Flutter 2 by vincnetas on Wednesday March 03, 2021 @03:38PM (#26334087)
Yeah, tiny differences that would nag the hell out of me. For example double clicking for selecting word is implemented, but triple clicking to select whole line is not implemented ;(
Re:Flutter 2 by kemayo on Wednesday March 03, 2021 @03:45PM (#26334218)
Ew, you can't select across lines of text, even.
Re:Flutter 2 by mkl on Wednesday March 03, 2021 @04:39PM (#26334987)
I don't think that shows off Flutter's web support. There are no interactive widgets or user interfaces (Flutter's primary purpose?), and the animations are less impressive than demos in DOS from ~30 years ago, e.g. https://en.wikipedia.org/wiki/Second_Reality
Re:Flutter 2 by aden1ne on Wednesday March 03, 2021 @03:47PM (#26334251)
This took about 30 seconds to load on a Galaxy S7 Edge (yes, I know, ancient technology in 2021) with Firefox. I briefly thought the tab had crashed.
Re:Flutter 2 by fwip on Wednesday March 03, 2021 @05:10PM (#26335409)
Thanks for the tip, but the compiled version exhibits the same juddering/choppiness for me, most noticeably in the rotations.
Re:Flutter 2 by hobofan on Wednesday March 03, 2021 @02:57PM (#26333557)
Yeah, that's still not great on a Macbook Air 2014. I'd even say that the spinner at the end looks even choppier.
Re:Flutter 2 by tmoravec on Wednesday March 03, 2021 @03:15PM (#26333784)
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 by vsmenon on Wednesday March 03, 2021 @04:53PM (#26335196)
[ disclaimer: I work on the Dart team. ]

As timsneath mentioned above, Dartpad is the dev environment. That means we ship the full Dart and Flutter SDK ahead of time as you can type/change anything in the code box. We also ship debug metadata to give better errors.

In production mode, we do a much more expensive compile to remove the parts of Dart, Flutter, and packages you don't use and to optimize/minify the rest.

It is working in Safari for me, but we've definitely appreciate bug reports if it's breaking for you (https://github.com/dart-lang/dart-pad in this case).

Re:Flutter 2 by AlphaSite on Wednesday March 03, 2021 @03:49PM (#26334283)
Also pinch to zoom is broken.
Re:Flutter 2 by AlphaSite on Wednesday March 03, 2021 @03:49PM (#26334277)
It break pinch to zoom in mobile safari, does anyone at google spend even a minute using anything but chrome?
Re:Flutter 2 by merrvk on Wednesday March 03, 2021 @03:09PM (#26333721)
Doesn’t seem to work at all for me on an iPad