Fongang Rodrique
 · FlutterFlow and Nocode Expert | Nocode Solutions | youtube.com/@Nocode_Solutions

SwipeableStack Doesn't Display Correctly Against Changing List

The way SwipeableStack functions traditionally is:
It traverses items in a list from index 0 - n as you swipe without changing the list.

I have a SwipeableStack with its children generated from a List page state variable. I also have an action that removes the item being swiped on at the moment from the list.

When that action continues to run, somewhere along the line the SwipeableStack doesn't index the item at index 0. It should be because the item previously at that index has been removed.

Please how can I fix this? I am willing to provide more details and.. below are illustrations demonstrating a normal working swipable card vs. the one with a changing list.


Normal SwipeableStack

SwipeableStack with changing List

3
6 replies