Category "gesturedetector"

How do I darken one container in a GestureDetector when I have multiple buttons created with a Widget constructor in Flutter Dart

So I have a piece of code where I need to add multiple buttons to the same page. I am using a GestureDetector since I don't like the onPress animation for the a

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