scribble
scribble copied to clipboard
Navigate Back Gesture & Drawing
trafficstars
Hi, thats a cool package, I will integrate it into my app!
Description:
- I have a route where you can paint things and when you navigate back I save the image. (This apply for drawings but also other routes and different content)
- The navigation back gesture is drawing on the screen
It would be nice if there would be a way to prevent that behavior. I did not found any way in Flutter to detect if a back gesture is currently on going. You can detect gestures in general but thats not always a back gesture.
Hi @Sesa1988, thanks for opening an issue. As far as I'm aware, you could use ModalRoute.of(context).popGestureInProgress to disable the Scribble widget during a back gesture, or is there something I'm not seeing?