r/FlutterDev • • 19d ago

Video They were really underselling just how big of an upgrade 3.50 is for iOS!

The latency issue didn’t seem like much to worry about imo, but after upgrading to 3.50 it genuinely (and I swear it isn’t placebo) feels like the difference between 60fps and 120fps, it’s noticeably better feeling. Honestly can’t believe this was an open issue for 3 years.

I get you probably cant feel the difference via a video, but it definitely feels and hopefully looks smoother, and that’s before even getting into the new objective-c/ffi upgrades.

218 Upvotes

31 comments sorted by

21

u/Salazar20 18d ago

Why is everyone else's music player better than mine 😭😭

2

u/KayJune001 18d ago

No way, send yours my way I’ll try it out!

I’ve been working on mine on and off for quite a long while, it was quite terrible when I started and even now I’m not sure it’s “production ready” lol

1

u/Falyrion 14d ago

Out of curiosity what are your guys sources for the music? Do you just play mp3 files on the device or do you use something like spotify api?

1

u/KayJune001 14d ago

I get pretty much all of my music off of ripped CDs, Soulseek, Apple Music, and host it on my home server via Navidrome (which is what my music app is for, but there’s a lot of client apps out there!).

1

u/Salazar20 18d ago

Mine isn't public either lol, its good enough that it replaced other music players for me but it's very buggy. Here's a video

the joke is that I tried to copy yt music ui but I've spent so long that the official yt music app changed it and I lowk like that one better so with nothing to copy, I'm burdened with being original for once!

19

u/patatesmeayga 19d ago

is the app you are showing yours? looks cool

33

u/KayJune001 19d ago

Yes! It’s かなで/Kanade, a music player I’ve been working on for months now :D

It’ll be free & open source, iOS/Android/Linux. the repo isn’t public yet (despite how smooth it may be, still a lot to iron out), but it’ll be eventually

-4

u/Lassemb 19d ago

Yeah, what app is it? Is it open source?

5

u/xboxcowboy 19d ago

Which package did you uses for the Liquid Glass effects ?

16

u/KayJune001 19d ago

liquid_glass_easy

I tried native_liquid_glass when starting out but the performance drawbacks and compositing issues were not worth it, liquid_glass_easy gets 99% of the way there and most users won’t notice the difference I think

2

u/xboxcowboy 19d ago

Do you encounter any performance issue with this ?

2

u/KayJune001 19d ago

My frametime 1% lows across the app on an iPhone 13 Pro running iOS 26.5 is 4.3ms, with it on. With it off, I’m still around 4ms, so it’s very performant especially if you use batch and repaint boundaries generously

3

u/Anxious-Hotel-6517 19d ago

Quick question , what kinda architecture do you use ?

2

u/Western_Cap_6934 19d ago

What was the smallest scene that reproduced the compositing issue with native_liquid_glass? A scrolling list behind one glass panel, with and without the keyboard, could make the comparison easier to reproduce without sharing the whole music player.

2

u/Scharesoft 18d ago

Did you also try liquid_glass_widgets? I’m using this package currently. Are there any advantages to the glass easy package?

1

u/gambley 18d ago

Try https://pub.dev/packages/g1455, the most perfomant one

4

u/Coinmaster123456 19d ago

heroine for the animations? looks great!

1

u/KayJune001 19d ago edited 19d ago

Thank you! Yeah I needed it to feel native, which imo is pretty much impossible to do without a lot of fluid animations (in any framework) since iOS/Android are super gesture based now

2

u/sfw_sasuke 18d ago

can anyone fill me in on the relevant major change from 3.50? iirc im still on 3.2x, how important is it that i go bleeding edge versioning

3

u/KayJune001 18d ago

The big thing here is the touch latency issue on iOS being fixed (was always a frame behind), and direct ffi/jni so platform channels aren’t as needed. The blog goes a bit more in depth with the new changes and additions

1

u/BodyUpper4173 19d ago

This is so cool! Btw, what package did you use for the page swipe gesture effect when closing?

3

u/KayJune001 18d ago

None!! Did that myself, unashamedly by dissecting SwiftUI animations and trying to improve some of their jankiness

1

u/Frosty_Garden6755 18d ago

Liquid glass, I see. I am experimenting with this. I have some work and findings so far. I want to make it as native as possible using flutter. So far the refraction and dispersion is good for clear glass components. As for the blurry and themed ones, they still look like a little bit of glassmorphism

3

u/KayJune001 18d ago

Looks good! For my app, Liquid Glass adapts and tints based on the brightness of the content and what album/artist/playlist page the user is in, but there’s also a bit of customization (including turning liquid glass and even blur off) im pretty proud of so far

1

u/SuEzAl 19d ago

What issue you are talking about?
I mean, what open issue that was closed

1

u/ChuckQuantum 18d ago

Bro I didn;t know this saw your post and just upgraded my apps damn we were definetly missing some FPS. my apps feel awesome! thanks for sharing

1

u/tommyboy11011 12d ago

I am having some compile performance issues with the emulator with the newest gradle requirement.

1

u/Anxious-Hotel-6517 19d ago

Damn im a junior and working on removing janks and making it under 16.6 mhz is lot difficult !! Heads off if you've reached that !! Im just starting with flutter dev tools and there's a lot to learn !! Its not easy optimising and making the app smooth as hell !! And also writing a scalable architecture , take DDD 😅

1

u/Background_Ranger917 19d ago

Has UI ever been the bottleneck for this kinda smoothness? My assumption was that the data doesn't load in fast enough.

1

u/dancovich 18d ago

Specifically in flutter case, the inputs were being collected and made available on the next frame, so there was a built in one game latency to anything input related.

Merely playing an animation was not affected, it was just animations triggered by an input