Unlock the Power of Haptics in Mobile Devices on Flutter
Lofelt builds state-of-the-art haptic technologies for iOS and Android developers and creatives.
🖥 This package is NOT developed by Lofelt.
🍏 The haptics works only for iOS for the moment
You can download a free to use libary of .haptic
files from Lofelt's website.
To create your own custom .haptic
file from sound, download Lofelt Studio and see Lofelt Studio documentation
Example:
assets:
- assets/haptics/
await Lofelt.init();
await Lofelt.load('assets/haptics/test.haptic');
await Lofelt.play();
await Lofelt.stop();
To see Lofelt integration with sound, see example
Feature | Status |
---|---|
Play .haptic on iOS 🍏 | ✅ |
Play .haptic on Android 🤖 | ❌ |