flutter_haptic 0.0.3 copy "flutter_haptic: ^0.0.3" to clipboard
flutter_haptic: ^0.0.3 copied to clipboard

Flutter Plugin for calling mobile native Haptic feature

flutter_haptic #

Flutter Plugin for calling mobile native Haptic feature

Requirement #

Flutter
flutter >= 2.0.0
dart >=2.12.0 <3.0.0(null safety)

iOS
iOS 13.0 or higher

Android
minSdkVersion 26 or higher
This plugin also requires to VIBRATE permission on Android devices.
(HapticFeedback cannot use within a plugin, so we imitate that using Vibrator).

How to use #

// Haptic Feedback for Success
Haptic.onSuccess();

// Haptic Feedback for Failure
Haptic.onFailure();

// Haptic Feedback for Selection
Haptic.onSelection();

For more detail, please check our example.

ref #

8
likes
150
points
168
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter Plugin for calling mobile native Haptic feature

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_haptic