custom_haptics_plugin 0.0.1
custom_haptics_plugin: ^0.0.1 copied to clipboard
A Flutter plugin for iOS custom haptic feedback using CoreHaptics.
custom_haptics_plugin #
A Flutter plugin that provides custom haptic feedback using Apple's CoreHaptics API (iOS only).
Features #
- Fine-grained control over haptic patterns
- Game-like feedback sensations
- iOS 13+ support
Usage #
import 'package:custom_haptics_plugin/custom_haptics.dart';
CustomHaptics.playSuccess();
CustomHaptics.playCombo();
CustomHaptics.playVictoryFan();
iOS Setup #
Ensure your ios/Podfile includes:
platform :ios, '13.0'
Supported Methods #
playSuccessplayComboplayRampUpComboplayVictoryFanplayHeavyRewardplaySuccessRewardplaySinglePopplayChestOpenplayBigWinplayCoinCollectplayErrorFailplayMatchComboplayDragStartplayDragMoveplayFailureRumbleplaySwipeTrailplayCountdownPulseplayPowerUpSurge
License #
MIT