shake_detector_android 0.0.4 copy "shake_detector_android: ^0.0.4" to clipboard
shake_detector_android: ^0.0.4 copied to clipboard

PlatformAndroid

The shake_detector_android is a Flutter plugin that allows your application to detect shake events using the device's accelerometer.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add shake_detector_android

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

dependencies:
  shake_detector_android: ^0.0.4

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_detector_android/shake_detector_android.dart';
4
likes
155
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

The shake_detector_android is a Flutter plugin that allows your application to detect shake events using the device's accelerometer.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on shake_detector_android

Packages that implement shake_detector_android