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

outdated

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.1.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';
199
likes
140
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