shake

Creator: coderz1093

Last updated:

Add to Cart

Description:

shake

shake #
A flutter package to detect phone shakes.
To listen to phone shake:
ShakeDetector detector = ShakeDetector.autoStart(
onPhoneShake: () {
// Do stuff on phone shake
}
);
copied to clipboard
OR
ShakeDetector detector = ShakeDetector.waitForStart(
onPhoneShake: () {
// Do stuff on phone shake
}
);

detector.startListening();
copied to clipboard
To stop listening:
detector.stopListening();
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.