That ticket was brought to the attention of the devs last year here (as in, they responded here that they now know about it). I haven’t heard any updates, though.
Fact: flutter should’ve stayed only on iOS/Android, they should’ve mastered these platforms, added fully native apis support, fixed all issues, instead of working on other platforms and game dev support
I think desktop support is more important than web, seems to me that there may not be a solution to the long startup time (bundle size) and that will forever limit the use cases for flutter web?
Flutter web is for web apps, not websites. The bundle size is a bit more acceptable given you're loading what otherwise would be a full-fledged mobile application. It wasn't designed to replace WordPress.
But yes, I think Android and iOS performance is by far more important.
I love Flutter, but Flutter Web does not cut it for me. I would not recommend it to anyone doing anything public-facing for Web development; there are so many things wrong with it and it seems like the wrong implementation under the hood. The laggy performance is even weirder and more noticable than anything I've seen on Flutter iOS and Android builds. I would have kept that build target under wraps and experimented more before releasing that. For starters, they really need to switch to HTML and CSS rendering rather than using the Canvas to render everything. I think the lines between "web app" and "website" are too blurred to say that Flutter should be used for Web apps. There is too much to unpack there, but I think they should focus on Android, iOS, tvOS and Android TV.
Yeah web applications being rendered in canvas is okay for me despite the massive initial payload. The only thing they could improve is create a barebone html/css render that could interop with html/css (the flutter widget tree/web dom feels similar anyways). The current html/css rendering is still terrible. I'm okay with limited number of widgets and components for now if they could get this barebone web rendering working properly.
In my own experience RN apps tend to be faster than Flutter apps. But it really depends on what the developer is doing. Flutter and RN apps never feel the same, and from a dev standpoint are pretty different. There's nothing like a native app 🥲
I also agree that app ( Wonderous ) kind look awesome and flutter_animate package they introduce also an awesome package but as soon as you scroll you can tell something is wrong. Worst thing about that you follow all the best performance practices flutter doc provide but then you come to know there is something wrong deep down in engine.
I happen to have developed a screen with three animating widgets and it breaks with a slightest change - new business requirement, some flutter update(s). Let's hope they resolve it - it will make all apps build with flutter better with just one rebuild.
This post is odd. Flutter is going to have some overhead, that's got to exist when you're writing one set of code for multiple platforms.
However, this case isn't an issue of flutter's overhead, it's more an issue that you're approaching the problem in a sub optimal way. You must use native components for niche cases like this, flutter was never designed to be a 120 fps drawing engine. It was meant to be the UI around everything like this but not the engine itself.
The trade off of 1 frame lag is not an issue whatsoever for most apps, it's irrelevant. If it's such an issue, by all means hire 3 development teams instead and go get that 120 fps.
This post doesn't shed any light on "what's wrong with flutter", it just shows a lack of understanding.
Your comment makes no sense. The frame lag in flutter is not necessary, it's just suboptimal scheduling implementation where the engine unnecessarily waits one frame after receiving touch event. It is perfectly fixable (though the fix is not entirely trivial).
I'm new to this issue, do you know if it is less of a problem with more minimal apps? I might actually scale back some complexity if it will improve performance.
Thanks for the reply. Using the wonderous app mentioned in this post left me a bit concerned given the stuttery scrolling. I've yet to finish an app nor test one on mobile so just wondering if the stuttering is due to the amount of functions and graphics used in this app or if it's typical of even simple flutterflow apps?
Yes, missing 1 frame is perfectly acceptable for everything else Flutter offers. Or, you can write that component natively, with the exact same effort you would have already, and there's no issue...
Sure missing 1 frame can be acceptable for basic apps but if Flutter team can fix this somehow then it MASSIVELY opens up the potential for the framework.
This is well know among the Flutter team but since it does not have much deveoper demand to be removed, it is currently a quirk of Flutter scrolling that is a nice way to identify Flutter apps in the wild. If this behavior bothers you, please file an issue or upvote an existing issue regarding this!
55
u/FunSurround934 Jan 01 '23
Building a Piano App, i found that using a Listener widget instead of a Button or GestureDetector would produce faster touch responses.
29
u/anlumo Jan 01 '23
That ticket was brought to the attention of the devs last year here (as in, they responded here that they now know about it). I haven’t heard any updates, though.
15
u/Maherr11 Jan 06 '23
Fact: flutter should’ve stayed only on iOS/Android, they should’ve mastered these platforms, added fully native apis support, fixed all issues, instead of working on other platforms and game dev support
70
u/virtualmnemonic Jan 01 '23
In my opinion, flutter devs need to focus solely on iOS, web, and Android performance for a while instead of new features and desktop support.
Jitter on iOS still occurs despite compiling shaders as well.
7
u/Flashy_Editor6877 Jan 03 '23
latency is my biggest problem. the delay from when you touch to when you get audio/visual feeback
4
u/mryoloo Jan 02 '23
I feel this with the official PlayStation app. I wonder if it is developed in flutter
5
u/solitude_1999 Jan 01 '23
I also agree that app ( Wonderous ) kind look awesome and flutter_animate package they introduce also an awesome package but as soon as you scroll you can tell something is wrong. Worst thing about that you follow all the best performance practices flutter doc provide but then you come to know there is something wrong deep down in engine.
2
u/aytunch Jan 02 '23
Do you think this package helps with native feeling scrolling? it has some great advantages for some of Flutter's rendering and building drawbacks.
https://github.com/fzyzcjy/flutter_smooth
2
u/Less_Hedgehog Jan 05 '23
Flutter doesn't even have the ripple effect introduced in Android 9. Android 9 was released in 2018. Do a search for ripple on the issue tracker and you'll find heaps of unresolved issues: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ripple
1
u/No_Assistant1783 Jan 02 '23
Is this OS-specific? Like is it better in iOS, or maybe worse in Windows, etc?
1
u/tomata_ Jan 02 '23
I happen to have developed a screen with three animating widgets and it breaks with a slightest change - new business requirement, some flutter update(s). Let's hope they resolve it - it will make all apps build with flutter better with just one rebuild.
1
u/ercantomac Jan 02 '23
This, and the lack of DCI-P3 color space support. https://ente.io/blog/tech/display-p3/
1
u/Flashy_Editor6877 Jan 03 '23
and the lack of full color gamut
-7
u/[deleted] Jan 02 '23
This post is odd. Flutter is going to have some overhead, that's got to exist when you're writing one set of code for multiple platforms.
However, this case isn't an issue of flutter's overhead, it's more an issue that you're approaching the problem in a sub optimal way. You must use native components for niche cases like this, flutter was never designed to be a 120 fps drawing engine. It was meant to be the UI around everything like this but not the engine itself.
The trade off of 1 frame lag is not an issue whatsoever for most apps, it's irrelevant. If it's such an issue, by all means hire 3 development teams instead and go get that 120 fps.
This post doesn't shed any light on "what's wrong with flutter", it just shows a lack of understanding.
-7
u/Accomplished_Low2231 Jan 02 '23
because you are biased. in reality you can't tell if an app is flutter or not.
0
u/[deleted] Jan 01 '23
[deleted] — view deleted comment