scribble icon indicating copy to clipboard operation
scribble copied to clipboard

Navigate Back Gesture & Drawing

Open Sesa1988 opened this issue 1 year ago • 1 comments
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.

Sesa1988 avatar Jan 10 '24 02:01 Sesa1988

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?

timcreatedit avatar Jun 12 '24 09:06 timcreatedit