Skip to content
forked from deven98/shake

A flutter package for detecting phone shakes.

License

Notifications You must be signed in to change notification settings

vespr-wallet/shake

 
 

Repository files navigation

shake

A flutter package to detect phone shakes.

To listen to phone shake:

ShakeDetector detector = ShakeDetector.autoStart(
    onPhoneShake: () {
        // Do stuff on phone shake
    }
);

OR

ShakeDetector detector = ShakeDetector.waitForStart(
    onPhoneShake: () {
        // Do stuff on phone shake
    }
);

detector.startListening();

To stop listening:

detector.stopListening();

About

A flutter package for detecting phone shakes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 65.3%
  • Ruby 17.9%
  • Java 9.4%
  • Swift 5.3%
  • Kotlin 1.6%
  • Objective-C 0.5%