FLUTTER ECOSYSTEM

vibration

A plugin for handling Vibration API on iOS, Android, web and OpenHarmony.

Latest version
3.1.8
30-day downloads
291.4K
Likes
927
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

The vibration package provides a unified interface for accessing the device's vibration API across Android, iOS, web, and OpenHarmony platforms. It enables developers to trigger vibrations programmatically, enhancing user feedback in apps through haptic responses. The plugin supports simple vibration patterns and is designed for cross-platform consistency. It integrates seamlessly with Flutter applications using a straightforward API. This package is ideal for games, alerts, or any app requiring tactile feedback.

Use cases
  • Triggering haptic feedback in mobile apps
  • Enhancing accessibility with tactile cues
  • Implementing game feedback mechanisms
  • Creating alert systems with physical response
  • Supporting interactive UI elements
Key features
  • Cross-platform vibration support
  • Simple and consistent API
  • Works on Android, iOS, web, and OpenHarmony
  • Lightweight and easy to integrate
  • Supports basic vibration patterns
Suitable for
  • Mobile app developers seeking haptic feedback
  • Accessibility-focused application design
  • Game development with tactile interaction
  • Apps requiring user confirmation via vibration
Considerations
  • Limited to basic vibration patterns
  • Not available on all web browsers
  • Vibration availability depends on device hardware
  • May require runtime permission on some platforms
  • Behavior varies slightly between operating systems
Supported platformsAndroidiOS

Install package

flutter pub add vibration

Categories

Source repository

Related projects

Rankings