News for hackers. Stuff that matters.
Re:Flutter seems to be having bad times internally by rapsey on Friday November 24, 2023 @03:14AM (#38401662)
Flutter is mainly a mobile framework. Electron owns the desktop, anyone using flutter on the web is crazy. While you're points are valid, they are kind of irrelevant.
Re:Flutter seems to be having bad times internally by wg0 on Friday November 24, 2023 @03:19AM (#38401687)
The marketing literature begs to differ.

The Google's own Family Link app even on web[0] is also a Flutter app.

[0]. https://familylink.google.com

Re:Flutter seems to be having bad times internally by vincnetas on Friday November 24, 2023 @03:23AM (#38401705)
Damn, what have we come to. I cant select text from a webpage. This is not what our grandfathers fought for :(
Re:Flutter seems to be having bad times internally by s6ro on Friday November 24, 2023 @03:56AM (#38401876)
Developers have control, if text is selectable or not. https://api.flutter.dev/flutter/material/SelectableText-clas...
Re:Flutter seems to be having bad times internally by anonymoushn on Friday November 24, 2023 @04:31AM (#38402078)
That sucks :)
Re:Flutter seems to be having bad times internally by thiht on Friday November 24, 2023 @07:39AM (#38403362)
They shouldn't.
Re:Flutter seems to be having bad times internally by mort96 on Friday November 24, 2023 @07:04PM (#38409767)
FWIW developers have control over that on the web too.

What sucks is that the non-selectable text is apparently the default.

Re:Flutter seems to be having bad times internally by devbent on Friday November 24, 2023 @03:45AM (#38401826)
That website breaks the back button, on Android...
Re:Flutter seems to be having bad times internally by anonymoushn on Friday November 24, 2023 @04:32AM (#38402083)
And on desktop Chrome!
Re:Flutter seems to be having bad times internally by drcongo on Friday November 24, 2023 @04:08AM (#38401927)
Ironically, that page just shows me "Something went wrong" which I guess proves your point somewhat.
Re:Flutter seems to be having bad times internally by rapsey on Friday November 24, 2023 @03:21AM (#38401700)
Well marketing and reality is not the same thing.
Re:Flutter seems to be having bad times internally by wg0 on Friday November 24, 2023 @03:48AM (#38401840)
Yes there's a mismatch. As a user one should dial down their expectations accordingly.
Re:Flutter seems to be having bad times internally by thiht on Friday November 24, 2023 @07:40AM (#38403372)
This is awful. Text is not selectable and the back button is broken. Nice work coming from a multi-billion $ company.
Re:Flutter seems to be having bad times internally by mort96 on Friday November 24, 2023 @07:06PM (#38409779)
Wow, the first thing I’m met with is a terribly choppy scroll rubber banding animation on a view which shouldn’t even be scrollable. Not only isn’t it 120 FPS; it doesn’t even feel close to 60.
Re:Flutter seems to be having bad times internally by sgt on Friday November 24, 2023 @03:29AM (#38401732)
There is a use case for Flutter Web and that is an extremely simple user interface such a form or a simple workflow, which can share code with e.g. a mobile app.

Other than that I agree - Flutter web is not going to be a good choice and that was never really the goal for them, I believe.

Re:Flutter seems to be having bad times internally by rapsey on Friday November 24, 2023 @03:35AM (#38401773)
Extremely simple user interface can be done in anything and code sharing is irrelevant for it though.
Re:Flutter seems to be having bad times internally by sgt on Friday November 24, 2023 @04:30AM (#38402075)
Fair enough, but if the interface is simple yet has somewhat complex validation logic, it may just make sense.
Re:Flutter seems to be having bad times internally by rokkitmensch on Friday November 24, 2023 @02:05PM (#38407066)
In that case, would be wrong with...a form?

Postback never died.

Re:Flutter seems to be having bad times internally by vincnetas on Friday November 24, 2023 @03:20AM (#38401692)
So what's the reason to pretend that you're also a web/desktop framework? This only limits you in mobile if you have to always consider web/desktop.
Re:Flutter seems to be having bad times internally by MrDresden on Friday November 24, 2023 @03:23AM (#38401706)
Frankly just the standard practice of over-promise and underdeliver, for marketing purposes.

Flutter would be far from being the first framework to do this.

Re:Flutter seems to be having bad times internally by rob74 on Friday November 24, 2023 @03:25AM (#38401718)
So then, if you want to have a really cross-platform app, ditching Flutter and using web tech for mobile too sounds like the better bet? Or, otherwise said: if Flutter is only relevant for apps, that's a pretty small niche.
Re:Flutter seems to be having bad times internally by rapsey on Friday November 24, 2023 @03:33AM (#38401762)
> if Flutter is only relevant for apps, that's a pretty small niche.

No it is not. Mobile apps are thriving. It is desktop apps that are niche now.

> ditching Flutter and using web tech for mobile too sounds like the better bet?

Quite possibly yes.

Re:Flutter seems to be having bad times internally by rob74 on Friday November 24, 2023 @03:41AM (#38401811)
I meant it's a small niche for Flutter to address only the apps that want to be cross-platform, don't want to invest into having "native" iOS and Android versions, but are Ok with using a different technology for desktop/web (or don't need those).
Re:Flutter seems to be having bad times internally by rapsey on Friday November 24, 2023 @04:01AM (#38401894)
It is not a small niche at all. A ton of things are mobile first/only.
Re:Flutter seems to be having bad times internally by pjmlp on Friday November 24, 2023 @04:17AM (#38401983)
And plenty of well known companies have discovered that mastering two native stacks is still easier and cheaper in the long run, than mastering a "cross-platform stack" framework + dealing with leaky abstractions + build integration issues + having to master the native stack anyway.

Either go mobile Web, or native.

Re:Flutter seems to be having bad times internally by SushiHippie on Friday November 24, 2023 @06:05AM (#38402710)
Yep, a good example is the element X rewrite

They use Jetpack on Android

https://github.com/vector-im/element-x-android

And SwiftUI on iOS

https://github.com/vector-im/element-x-ios

But both use the same underlying Matrix Rust SDK

https://github.com/matrix-org/matrix-rust-sdk

So they share the core part of the app between platforms, but everything user facing is native

Re:Flutter seems to be having bad times internally by candiodari on Friday November 24, 2023 @03:37AM (#38401784)
You know, this is a solved problem. Qt, for example, can easily do it (and has been able to do it for 10+ years, from microcontrollers to phones). And, just saying, QT is damn fast, a necessity if you want to work on microcontrollers of course. And yes, you can do it without royalties, without paying for QT, and in multiple languages (at least C++ and Python work pretty well).

(oh, and QT supports 3d, on the web, on android, on ios, and on desktop, even on microcontrollers if needed)

And yes, Javascript's advantage has been that it was cross-platform pretty early on. Not particularly fast though, not even decades later.

And everybody keeps pointing out the same shortcoming: these frameworks let you share a lot of code, but mostly not the actual "View" (the V in model/view/controller) code, due to screen sizes, whether the UI can be resized, extra functionality (e.g. statusbar/notifications/...)

That's why new frameworks come out, because "why can't notifications on Windows work the same as on android?". "Why not just share UI?". Unfortunately, there's very good reasons they cannot work the same ... So a couple years in, these frameworks develop the exact same problems.

Re:Flutter seems to be having bad times internally by ffgjgf1 on Friday November 24, 2023 @03:28AM (#38401731)
Then it’s not bringing something particular new or useful to the table?

Xamarin/mono already tried almost the same approach years ago and it clearly failed..

Re:Flutter seems to be having bad times internally by rapsey on Friday November 24, 2023 @03:31AM (#38401745)
Did it fail because it is impossible, because of poor execution, poor dev experience or it was simply too early? Flutter seems to be quite popular.
Re:Flutter seems to be having bad times internally by pjmlp on Friday November 24, 2023 @04:19AM (#38401997)
All these frameworks are leaky abstractions, they only avoid mastering the underlying platform as long as people stay on the happy path.
Re:Flutter seems to be having bad times internally by realusername on Friday November 24, 2023 @03:23AM (#38401707)
The web target is not completely useless, if you want to add some kind of app demo on your website, it's pretty good for that purpose.

It's not ready as a full platform though like mobile & desktop, that's for sure.

Re:Flutter seems to be having bad times internally by mikhael28 on Wednesday November 29, 2023 @02:52PM (#38464359)
Our sales team uses the web version of our mobile app to do sales presentations. It is very useful.