Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange Glitch When Using Keys On SwipeStack() #58

Open
kharithomas opened this issue Oct 27, 2020 · 0 comments
Open

Strange Glitch When Using Keys On SwipeStack() #58

kharithomas opened this issue Oct 27, 2020 · 0 comments

Comments

@kharithomas
Copy link

Currently when adding keys to the SwipeStack or its children it results in a weird flashing that occurs after each card is swiped. I suspect the issue coming from the build method rebuilding the widget tree after each call and updating the old card's value causing a visual delay. I opened a Stack Overflow issue about this as well.

Gyfcat link to see the flashing:
https://gfycat.com/jampackedvapiddinosaur

Stack Overflow Link:
https://stackoverflow.com/questions/64530700/flutter-futureprovider-value-not-updating-in-builder-method

Also: Currently the package doesn't support adding keys on the individual SwiperItem like the ListView and GridView widgets to uniquely identify each Card; this would be a very useful feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant