benjamindean / flutter_vibration

Handle vibration on iOS and Android in Flutter apps
217 stars 67 forks source link

replay #62

Closed myur2312 closed 2 years ago

myur2312 commented 2 years ago

if i set [500, 1000, 500, 2000, 500, 3000, 500, 100] this pattern and vibration run continue when user not stop them what i do?

Also how i speed the vibration?

benjamindean commented 2 years ago

The only way to speed it up is to provide smaller timings. You can call vibration.cancel() to stop the vibration, but it'll work only on Android unfortunately.