Skip to content
/ shake Public
forked from deven98/shake

Forked because incompatible with AGP 8 & Flutter 3.13.4

License

Notifications You must be signed in to change notification settings

dieringe/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

Forked because incompatible with AGP 8 & Flutter 3.13.4

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%