I'm in a bit of a pickle. I'm developing a Flutter app (currently using release 0.8.2 on Windows in Android Studio) and I can't seem to work out this one implementation detail. It's quite possible that it's just so simple I've missed it but I would appreciate it if someone could point me in the right direction!
My problem is: I have a custom color picker widget that I've created that is within a scrolling ListView. In order for the user to interact with the color picker widget properly, I need to stop the ListView from scrolling whenever the user is dragging the color pointer around within the picker but I need to then allow the ListView to be scrolled once the interaction is finished (so I can't just set the physics to a NeverScrollableScrollPhysics).
Here is a link to a screencap of the Interface
I'm currently using a Listener to handle interaction within the color picker and whenever the user drags the pointer around, the ListView scrolls as well. I have tried using a GestureDetector but the pan DestureDetector does not prevent the ListView from scrolling. I tried adding a vertical drag handler to the GestureDetector as well which did prevent the ListView from scrolling but doing this adds a minimum drag distance before the pointer moves since the GestureDetector tries to differentiate between a pan and a vertical drag.
I would love any suggestions or a pointer in the right direction. Thanks!