advanced_haptics library

Classes

AdvancedHaptics
A Flutter plugin for playing powerful, custom haptic feedback patterns.
AdvancedHapticsPlatform
The interface that platform implementations of advanced_haptics must implement.
AndroidPrimitiveEvent
One primitive in an Android composition.
HapticContinuous
A sustained haptic that lasts for duration.
HapticEvent
A single event in a HapticPattern.
HapticPattern
A platform-independent haptic pattern made of HapticEvents.
HapticPatternBuilder
Builds a HapticPattern sequentially: each call appends at the current position and advances it, so tap().pause(...).buzz(...) reads like the pattern feels.
HapticTransient
A short, tap-like haptic.
HapticWaveform
An Android-style waveform: segment timings in milliseconds and amplitudes from 0 to 255, both the same length.

Enums

AndroidHapticPrimitive
Primitives of Android's VibrationEffect.Composition (API 30+).
AndroidPredefinedHaptic
Android's predefined vibration effects (VibrationEffect.createPredefined, API 29+).