haptic_composer library
Classes
- CancelToken
- Token for cancelling ongoing haptic operations
- HapticButton
- A button widget that provides haptic feedback on press
- HapticComposer
- Main entry point for the haptic composer package
- HapticComposerUI
- A visual UI widget for composing haptic patterns
- HapticCustomScrollView
- A custom scroll view with haptic feedback
- HapticEffect
- Represents predefined haptic effect parameters
- HapticEngine
- The main haptic engine that manages haptic playback
- HapticEvent
- Represents a single haptic event within a pattern
- HapticFeedback
- A wrapper widget that adds haptic feedback to any widget
- HapticPattern
- Represents a sequence of haptic events that can be played
- HapticPatternBuilder
- Builder class for fluent haptic pattern construction
- HapticPresets
- Pre-built haptic patterns for common use cases
- HapticScrollView
- A ScrollView that provides haptic feedback on scroll events
- HapticValidator
- Validates haptic patterns for correctness and best practices
- LongPressHaptic
- Convenience widget for long press feedback
- PatternSerializer
- Handles serialization and deserialization of haptic patterns
- PlatformAdapter
- Adapter for platform-specific haptic implementations
- RecommendedValues
- Recommended values for haptic patterns
- TapHaptic
- Convenience widget for tap feedback
- ValidationReport
- Validation report for a haptic pattern
Enums
- HapticEventType
- Enumeration of haptic event types
Typedefs
- OnHapticButtonError = void Function(String error)
- Callback for handling haptic button errors
- OnHapticComplete = void Function()
- Callback for handling haptic playback completion
- OnHapticError = void Function(String error)
- Callback for handling haptic playback errors