haptic_feedback_pro ⚡

A Flutter plugin for triggering rich haptic feedback on iOS and Android.

Supports all native haptic types — impact, notification, selection, and full vibration. ðŸŽŊ


ðŸ“ą Platform Support

Android iOS
✅ ✅

🚀 Installation

Add to your pubspec.yaml:

dependencies:
  haptic_feedback_pro: ^1.0.0

Then run:

flutter pub get

🛠ïļ Usage

import 'package:haptic_feedback_pro/haptic_feedback_pro.dart';

// Trigger any feedback type
await HapticFeedbackPro.trigger(FeedbackType.success);
await HapticFeedbackPro.trigger(FeedbackType.heavy);
await HapticFeedbackPro.trigger(FeedbackType.vibration);

🎛ïļ Feedback Types

Type Description
FeedbackType.light ðŸŠķ Light impact
FeedbackType.medium 👆 Medium impact
FeedbackType.heavy 💊 Heavy impact
FeedbackType.soft ðŸŦ§ Soft impact
FeedbackType.rigid ðŸŠĻ Rigid impact
FeedbackType.success ✅ Success notification
FeedbackType.warning ⚠ïļ Warning notification
FeedbackType.error ❌ Error notification
FeedbackType.selection 🔘 Selection change
FeedbackType.vibration ðŸ“ģ Full device vibration

🌟 Built By

Enjoyed this package? Check out the app we built it for 🚀

Download NutriScan


📄 License

MIT