nateshmbhat / touchable

The only flutter library to add gestures and animations to custom shapes you draw on your canvas.
https://pub.dev/packages/touchable
Mozilla Public License 2.0
233 stars 80 forks source link

Incorrect GestureDetector arguments: pan gesture and a scale gesture recognizers #62

Open erickib opened 1 month ago

erickib commented 1 month ago

I'm trying to run the example on a clean project but I get this error:

Exception has occurred. FlutterError (Incorrect GestureDetector arguments. Having both a pan gesture recognizer and a scale gesture recognizer is redundant; scale is a superset of pan. Just use the scale gesture recognizer.)

Is this package still active? Also compiler warns about outdated pkgs.

nateshmbhat commented 1 month ago

Yes package is alive. Do u mind sending a PR for this?

ali-sina100 commented 1 month ago

I am getting the same error

Exception has occurred. FlutterError (Incorrect GestureDetector arguments. Having both a pan gesture recognizer and a scale gesture recognizer is redundant; scale is a superset of pan. Just use the scale gesture recognizer.)