haptic_patterns 1.0.0
haptic_patterns: ^1.0.0 copied to clipboard
Composable haptic feedback patterns for Flutter -- chain, repeat, and compose taps, buzzes, and custom sequences on Android and iOS.
1.0.0 / Initial release. #
HapticPatternDSL:HapticEvent(with.tap(),.thud(),.buzz()shapes),HapticDelay/delay(),HapticSequence,HapticRepeat,HapticCurveHapticPlayer—play(),stop(),isSupported()- Android platform channel (
VibrationEffectcompositions, API 24+) - iOS platform channel (
CHHapticEnginepatterns, with a graceful no-op on hardware that doesn't support haptics) - Preset library: 25 ready-to-use
HapticPatternscovering system feedback, rhythmic, sustained, dynamic, and expressive feel HapticFeedbackWidgetfor declarative tap/long-press/double-tap-triggered feedbackDesktopHapticSimulator— opt-in audio-based haptic simulation for developing on Windows/macOS/Linux- Example app: on-screen keyboard, pattern playground, and a tap-the-target game demo
- CI: Dart analyze/test, Android native unit tests, iOS XCTest suite, all across both the plugin and the example app