haptic_patterns 1.0.0 copy "haptic_patterns: ^1.0.0" to clipboard
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. #

  • HapticPattern DSL: HapticEvent (with .tap(), .thud(), .buzz() shapes), HapticDelay/delay(), HapticSequence, HapticRepeat, HapticCurve
  • HapticPlayerplay(), stop(), isSupported()
  • Android platform channel (VibrationEffect compositions, API 24+)
  • iOS platform channel (CHHapticEngine patterns, with a graceful no-op on hardware that doesn't support haptics)
  • Preset library: 25 ready-to-use HapticPatterns covering system feedback, rhythmic, sustained, dynamic, and expressive feel
  • HapticFeedbackWidget for declarative tap/long-press/double-tap-triggered feedback
  • DesktopHapticSimulator — 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
0
likes
150
points
72
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Composable haptic feedback patterns for Flutter -- chain, repeat, and compose taps, buzzes, and custom sequences on Android and iOS.

Repository (GitHub)
View/report issues

Topics

#haptics #vibration #feedback #animation

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on haptic_patterns

Packages that implement haptic_patterns