Showing a container based on swipe direction.

I am using the swipeable stack widget. I want to show a different container on top of the stack based on the direction the user is swiping in real time. So not after the swipe but during. I have been trying to use conditional visibility with custom code but I am new to flutter/dart and failing. Any suggestions? Thank you!

1
1 reply