haptic_feedback 0.5.1+1 copy "haptic_feedback: ^0.5.1+1" to clipboard
haptic_feedback: ^0.5.1+1 copied to clipboard

A Flutter plugin for haptic feedback. While it utilizes standard iOS haptics, it aims to emulate these same haptic patterns on Android for a consistent experience across platforms.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add haptic_feedback

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

dependencies:
  haptic_feedback: ^0.5.1+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:haptic_feedback/haptic_feedback.dart';
73
likes
160
points
6.77k
downloads

Publisher

verified publisherachim.io

Weekly Downloads

A Flutter plugin for haptic feedback. While it utilizes standard iOS haptics, it aims to emulate these same haptic patterns on Android for a consistent experience across platforms.

Repository (GitHub)
View/report issues

Topics

#haptic #feedback #haptics #vibration #plugin

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on haptic_feedback