flutter_haptic

Last updated:

0 purchases

flutter_haptic Image
flutter_haptic Images
Add to Cart

Description:

flutter haptic

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();
copied to clipboard
For more detail, please check our example.
ref #

UIFeedbackGenerator Class Reference(iOS)
Vibrator(Android)

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.