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

PlatformAndroidiOS
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: ^1.0.1

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';
192
likes
130
pub points
98%
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

More

Packages that depend on shake