Add new data to SwipeableStack - Problem

Actions & Logic

Hi. I have a SwipeableStack with an api call, which is getting the random values from my db, everything works fine, but when the swipes are over, I'm trying to load new data on the second to last swipe, but I don't get it. I want to make an Infinite Swipe, I need to do it without the user noticing, like every dating app.

Sorry for my bad english.

What have you tried so far?

I try to count the objects of the api and when I swipe increment 1 to "actual" app state, and with a conditional try to refresh the swipeable stack, but nope.

I tried a lot of things. I think that I need to use Custom Actions, but I don't know how to do it, I tried with CodeCopilot but it crashes everytime.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
6 replies