Category "gesturedetector"

Flutter Execute Method so long the button pressed

I want to execute a method while a user is pressing down on a button. In pseudocode: while (button.isPressed) { executeCallback(); } In other words, the exec

How do I get to tap on a CustomPaint path in Flutter using GestureDetect?

I'm very new to flutter and am trying to figure out how to get a gesture detected on a CustomPaint path. I can click on a host of other things but not on paths

How do I programmatically simulate onTap on a button in Flutter?

For example: // Update: This GestureDetector is embedded inside a third party package // that will invoke a series of animation along with the onTap button Gest

Flutter- GestureDetector not working with containers in stack

I have two containers in a stack and both containers have GestureDetector.The OnTap for the first container is working fine but it's not working with another co