tpucci / shake_gesture

0 dependencies Flutter plugin that detects shake gestures on Android and iOS (even on simulators).
MIT License
3 stars 4 forks source link

Feature request: add a threshold value for the shake event #1

Closed jtsimoes closed 7 months ago

jtsimoes commented 8 months ago

Hi! Great package here!

Can you add a property inside ShakeGesture() to control the intensity of shake needed to trigger the listener?

Thanks in advance.

dhikshithrm commented 7 months ago

Thanks for this great package @tpucci , i was about to open the same issue, to let developers change the threshold for shake detect.

tpucci commented 7 months ago

Hello there ! Sorry, I have disabled the notifications for Christmas but did not enable them again after 😅 I'll think about a solution this weekend 🙂 Happy to see this package is used by the community

tpucci commented 7 months ago

Hey again! Delivered in 1.1.0 ✅ Check the README: https://github.com/tpucci/shake_gesture#customize-required-shake-gesture

dhikshithrm commented 7 months ago

Thanks for shipping this feature request 🔥