Open acampuzanoo opened 2 years ago
I had a similar issue because I accessed the card data with matchEngine.currentItem
instead of saving my item list in the state of the widget and accessing the data with the index (swipeItems[index]
) in the itemBuilder()
method.
Whenever a card is being dragged, the back card will still show the same content of the front card.
The content of the back card is only loaded when the front card is completely swiped; in the meantime it will still show the swiped card content.
Attached you can find evidence of this behavior. I followed the example from pub.dev to create the stack as well.
https://user-images.githubusercontent.com/96595808/160946999-5b06cbcb-f6dc-4efb-95aa-2e1d2f05af59.mov