ListView - Page lag when loading large list

Widgets & Design

Hi there,

I have an App State list that I am displaying in a ListView. I am noticing that when going back and forth to the page that contains the list, it can become quite laggy/slow to respond, especially when the list contains 100+ items.

Interestingly, the first few times you navigate to the page, it seems to load fine and the 'back' page transition works fine. However, the more you visit the page, it starts to lag and the 'back' page slide animation completely stops working.

I understand there are infinite scroll options, but they are only available for Firestore collections and API calls. However, given this is data stored in a local App State, I can't seem to figure out how to improve performance (either only load what the page can display or some other method?).

Hoping someone can assist!

What have you tried so far?

As above ^

Did you check FlutterFlow's Documentation for this topic?
Yes
1