I've found a bug that occurs when you change cards in the match engine, sometime the front card would not render.
The fix:
in swipe_cards build method:
DraggableCard(
key: ValueKey(widget.matchEngine.currentItem!.content), // Add a key --> you'll also need to add the key param to the draggable card widget
I won't do a PR because I have a lot of custom changes in my fork, but this could save someone a few hours of debugging.
I've found a bug that occurs when you change cards in the match engine, sometime the front card would not render.
The fix:
in
swipe_cards
build method:I won't do a PR because I have a lot of custom changes in my fork, but this could save someone a few hours of debugging.