haptic_kit
2.3.1, released 3 weeks ago by ravenlab.tech
Haptic feedback, vibration and animated haptic widgets for Flutter on Android and iOS.
What it does
Provides APIs for impact, notification, selection, custom waveforms, Core Haptics patterns, and semantic vibrations. Includes a set of drop-in animated UI widgets wired to haptics.
AI-written summary of version 2.3.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to add tactile feedback like impacts, notifications, or custom haptic patterns to your Flutter app.
- You need pre-built animated UI widgets that automatically trigger appropriate haptic feedback on interaction.
Skip it when
- You are targeting platforms that do not support haptics or vibration (like web or desktop) where haptics will fail or be unavailable.
- You only need basic platform info or device sensors unrelated to haptics.
Strengths
- Covers both basic vibration/haptics and advanced Core Haptics patterns and composition primitives.
- Comes with a catalog of drop-in animated widgets with synchronized haptics.
Weaknesses
- Throws exceptions on unsupported devices or platforms unless caught or guarded.
- Some advanced features require specific Android API versions or iOS versions.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Android declares VIBRATE permission automatically. Minimum iOS deployment target is iOS 12.0.
import 'package:haptic_kit/haptic_kit.dart';
await Haptics.impact(HapticImpactStyle.medium);
await Haptics.notification(HapticNotificationStyle.success);Alternatives
Packages that do the same job and could replace haptic_kit.
- flutter_vibrate
A Flutter plugin to trigger haptic feedback and vibrations on iOS and Android.
71Compare - gaimon
A Flutter plugin to support haptic feedback with custom patterns.
83Compare - haptic_feedback
A plugin for consistent haptic feedback patterns across iOS and Android.
91Compare - pulsar_haptics
Rich haptic feedback and vibration patterns for Flutter on iOS and Android.
77Compare