I'm trying to implement a simple two fingers swipe (bottom to up and up to bottom) in flutter, with VerticalMultiDragGestureRecognizer, but couldn't find an fully example how to work with theses recognizer, tried with Listener widget and RawGestureDetector with GestureRecognizerFactoryWithHandlers, but didn't understand how should work with custom recognizers.
What I pretend:
Two fingers bottom to up triggers an event to show page A
Two fingers up to bottom triggers an event to show page B
Extra:
Just detect two fingers event is enought for me, but if is possible, can be controll the animation of page A or B transition? Like an "Slider"? (poping the new page as the hand's moviment of user progress)
Could any one help-me with this question?
I have created a sample gist on GitHub here that should guide you about how to detect two finger swipe.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With