shake 2.2.0 copy "shake: ^2.2.0" to clipboard
shake: ^2.2.0 copied to clipboard

A flutter package to detect phone shakes. Adjustable G-force and reset periods.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add shake

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  shake: ^2.2.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:shake/shake.dart';
191
likes
120
pub points
97%
popularity

Publisher

verified publisherjoshi.dev

A flutter package to detect phone shakes. Adjustable G-force and reset periods.

Repository

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

flutter, sensors_plus

More

Packages that depend on shake