r/FlutterDev • • 16d ago

SDK It’s been addressed

/r/FlutterDev/comments/15q7kry/flutter_scroll_jank_issues_are_barely_touched/?share_id=YVT20OGCwNrwsFu_UVxU3&utm_medium=ios_app&utm_name=iossmf&utm_source=share&utm_term=1

I haven’t tried it yet but this is great news. In v3.50 Flutter now has a fix to improve the touch latency. We’re inching closer and closer to the point where you won’t be able to tell an app was made with Flutter as an end user.

69 Upvotes

28 comments sorted by

62

u/No-Examination-5065 15d ago

99.99% of the population cannot tell if an app is built with Flutter or Swift / Kotlin

The only people who can are us nerds

1

u/Mathely-Caritino 13d ago

yeah normal users really only notice if something outright freezes or crashes, the framework stuff is completely invisible to them

-2

u/dannyfrfr 15d ago

Yes they can. I’ve heard people say this and it’s simply not true. Of course a user or client is not coming to you and saying “I can tell you made this with Flutter” but they say things such as “this app feels cheap.”

It might not matter for your use case but many users can tell.

6

u/UnhappyCable859 15d ago

A Swift built app could be cheap with bad UI/UX

-1

u/dannyfrfr 15d ago

And that swift app could possibly still have less scroll latency than a Flutter app pre 3.50. What is your point? That people can write poor software in any language?

3

u/Tasty_Garage4858 15d ago

I suppose that's the point, since the original claim was that people can tell what an app is made with, which I doubt. People don't even know what Flutter or Swift are

-1

u/dannyfrfr 15d ago

The claim wasn’t that a user is going to know an app is made with Flutter, the claim is that they’re able to feel that an app built with Flutter doesn’t match what they’re used to and they often call it “cheap” or “off.”

4

u/dancovich 15d ago

What is that they are used to?

If you get an app like Spotify, it is so different from a "native looking" iOS app that the user have no frame of reference to compare to.

This is normal nowadays. Most apps won't just adhere to the standard design system. This comes in obvious ways but also in subtle ways, like the duration of an animation, the margins, the shimmer used to highlight an input that was pressed and so on.

1

u/Tasty_Garage4858 15d ago

"99% of the population cannot tell if an app is built with Flutter or Kotlin" is the verbatim quote of the comment under which we're all replying, though

3

u/dannyfrfr 15d ago

If you want to waste our lives arguing about semantics, we can do that.

First, you omitted swift in your quote.

Second, my reply is ambiguous. The meaning you didn’t point out was that users can tell the difference between a Flutter app built with Swift / Kotlin without knowing what the app was built with. Not to mention if you read the whole comment you’d have a clear understanding of what the intended meaning was.

If I gave a user two variants of many apps that had what is supposed to be the equivalent UI, except one was written in Flutter and the other was written in Swift / Kotlin, and you asked users which app “feels off,” much more than 1% of the users would consistently pick the Flutter app. They don’t know the framework but they are able to tell one is built with Flutter and one is built with the native language.

0

u/Tasty_Garage4858 15d ago

Man, I don't want to waste your time or anyone's at all, but recognizing a framework and seeing an app lag is not semantics, those are two completely different things.

About my quote.. yeah it was not perfect cause from the mobile app idk how to copy text, sorry about that 😅

Back to the topic.. I have no bone in the argument at all, I just wanted to point out that imho the discussion was drifting a bit from a half joking comment about "it's just us nerds". I really don't care much about the whole thing, sorry if I got on your nerves

1

u/dancovich 15d ago

Or more scroll latency, because scroll latency can come from inefficiency in fetching data or reusing item lists to save on performance.

3

u/dancovich 15d ago

We have both native and Flutter apps in the company I work for.

Exactly zero users ever complained about the user experience of the overall feeling of using the app.

If the ONLY issue is this one frame delay, no one that doesn't know it exists and is specifically looking for it will notice.

What usually happens is that your entire app "feels cheap" and that's what users are complaining about. This usually comes from inconsistencies, where the app simply doesn't follow a single vision about the UX. Margins don't align, animation timings aren't consistent, buttons don't have a consistent placement etc.

This isn't on Flutter.

2

u/dannyfrfr 15d ago

I’ve gotten plenty of praise for the appearance of the app. That’s what Flutter excels at, giving you control over your design. The gestures are where things feel cheap.

0

u/No-Examination-5065 15d ago

they say things such as “this app feels cheap.”

That's a problem with your app design not Flutter

1

u/dannyfrfr 15d ago

You can use the Cupertino widget library to create an app that is supposed to behave exactly as the same app made in Swift. Scroll views, nav bars and text boxes are common components that are easy to compare one to one. It still won’t feel the same.

I really don’t know why you are so adamant to deny this. I’m sure I could build a better app with Flutter than someone else with Swift, I never said it wasn’t doable.

I’m saying that even with built-in widgets, the best practices and an unmodified Flutter rendering engine, you’re still likely to fall short of a native “feel” and it feels “cheap” because it doesn’t match the behavior of other apps.

For a long time, scrolling with two fingers in a default list view would double the scrolling speed. That doesn’t match the behavior of iOS or Android. Is that a problem with my app’s design?

I’ve had users say an app feels “cheap” or “janky” and it’s because I used Flutter. I’m sure there’s plenty more that felt it and didn’t care (because for every one that bothered to say something about it, there’s probably many that noticed and didn’t care). They’re going to have to deal with it because I’m not moving off Flutter, but ideally I don’t have to make that compromise of all the good things Flutter offers developers and all the good things a native app offers users.

Flutter is a great framework but the truth is that it was made with an architectural decision to redraw every pixel and remake every native component. That’s a huge undertaking because it means attempting to make a pixel-perfect replication (visually and behaviorally) of a very large collection of native components across all the platforms flutter supports. It’s part of why Flutter is so great and part of why Flutter isn’t.

See:

https://github.com/flutter/flutter/issues/97761

https://github.com/flutter/flutter/issues/150824

https://www.reddit.com/r/FlutterDev/comments/100k01f/why_flutter_apps_feel_slightly_off_compared_to/

There’s a lot more if you want to look. I remember the text highlighting and menu options being different from iOS for a long time as well but it’s also been fixed.

-1

u/No-Examination-5065 15d ago

I’ve had users say an app feels “cheap” or “janky” and it’s because I used Flutter

If it's janky and you used Flutter that's a skill issue not a Flutter issue

If it feels cheap that's a design issue

All of the issues you have pointed out are things from years ago which nobody apart from nerds will notice

2

u/dannyfrfr 15d ago

It feels cheap because the native implementations are different from Flutter’s. The user takes an action like scrolling or swiping or highlighting text and it’s slightly different on my apps because I used Flutter.

My apps always easily hit 60FPS or 120FPS on the phones that support it and follow human design guidelines from the platform. By every best practice and benchmark I know of there’s nothing wrong with my apps.

As for the issues, font rendering is still not fixed and I’m not going to bother hunting for more. I’m glad that Flutter is getting closer to matching iOS fidelity but it’s not perfect yet.

I have thousands of users on apps I’ve made with Flutter. Flutter feeling different than native probably might not have made me lose a single user but it’s not something I want my users to feel anyways.

If you don’t think a user can feel the difference you’re just being dense. There’s a reason this latency change had so much engineering effort behind it and it’s the same reason companies like Apple spend millions trying to make gestures and UI feel fluid. I mean, Flutter spent a lot of effort just trying to be able to replicate the “squircles” on iOS.

https://github.com/rydmike/squircle_study

And a lot of effort put into gestures:

https://www.tiktok.com/@justinbuilds.mov/video/7700425886859873550

2

u/dancovich 15d ago

I have thousands of users on apps I’ve made with Flutter. Flutter feeling different than native probably might not have made me lose a single user but it’s not something I want my users to feel anyways.

The thing is what is "different from native"?

When you get popular apps like Spotify, YT, Tiktok, Instagram etc, even though many of them use iOS native frameworks and design systems for the user interface, they are heavily personalized according to the company brand. Even when they use iOS Human design, it's not consistent. They'll use native dialog boxes but use their own rules for input elements like buttons and check boxes. Or they will completely replace the default theme and use their own values for anything from colors to margins.

Depending on the app, "feeling native" is so subtle no regular user would ever be capable of pointing out what is an inconsistency with Human design system and what is merely a different design decision.

As long as your app is consistent (no different margins everywhere, no random colors, no different font sizes and styles), most users will just assume that's how your app works.

3

u/dannyfrfr 15d ago

That’s the thing, users are expecting things they don’t realize they’re expecting. It’s true that Spotify, TikTok, Discord, Reddit and so many other apps don’t follow standard iOS interfaces. There are custom buttons, fonts, toolbars and other things that give a company its branding, but some parts are still consistent across them all like these issues.

If a user has Spotify, TikTok, Discord, Reddit and one of my Flutter apps on their phone, my Flutter app is the only one that has the scroll latency, slightly different text highlighting, slightly different pop up menus, slightly different refresh indicators and gestures, slightly different font widths (unless any of these things were intentionally changed by the developers of those apps).

If you don’t think users can notice, why did Flutter bother to fix this? Why does Apple spend so much engineering effort on the “feel” of gestures?

I never claimed a user is going to care and of course many won’t notice but many also will.

19

u/gambley 15d ago edited 15d ago

You'll always be able to tell whether the app is built in Flutter by seeing, for example, whether selection handles in the text field or wherever else are being below the keyboard(Flutter) or above(native). On native you can display stuff above the keyboard, e.g. bottom sheets, dialogs, overlays, etc. In Flutter you cant do that in a clean and easy way. For me thats the permanent marker whether the app is Flutter, apart from quite some other factors. I dont mean anything by that, just decided to share that.

Anyway, for the end user its very hard to notice and to care about that, so that's very little detail.

Its very easy to feel it, though, in chat environments. Say the user has the keyboard up and you want to show the bottom sheet. What will do 99% of apps, remove focus, therefore keyboard, bottom sheet shows, when it closes then the focus is retained and keyboard is up again - ui jumps back and forth. It is slightly worse user experience, than being able to show bottom sheet above the keyboard. Telegram is an example.

10

u/uldall 15d ago

With the new windowing API it could become possible to show stuff above the keyboard

2

u/gambley 15d ago

That'd be neat!

1

u/billynomates1 15d ago

Isn't that more for desktop?

1

u/uldall 15d ago

I guess a native bottomsheet could be seen as a "window" if it allows Flutter to render anything inside it. But I do not know anything about this. It was only a guess.

3

u/Euphoric_Ask5354 15d ago

What was the issue before for this to be created?

1

u/ConvenientChristian 8d ago

Before it took one frame so 8ms on 120 frame per second or 16ms at 60ms before the registered touch was propagating.

1

u/diz_array 15d ago

Was it addressed though? Both issues from the linked post are still open.