Skip to content
pubscout

flutter_vibrate

1.4.0, released 10 months ago by an unverified publisher

A Flutter plugin to trigger haptic feedback and vibrations on iOS and Android.

WASM-ready
$ flutter pub add flutter_vibrate
Source repository

What it does

It provides a unified API for generating device vibrations and platform-specific haptic feedback types like impacts, selections, success, and error signals. It supports standard vibrations, custom pause patterns on Android, and haptic generators on iOS.

AI-written summary of version 1.4.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to provide tactile feedback for user interactions like button taps or form submissions.
  • You want cross-platform haptic feedback and custom vibration patterns.

Skip it when

  • Your target platforms include Web, macOS, Linux, or Windows since they are not supported.
  • You need complex audio-tactile sequencing beyond basic vibrations and predefined haptics.

Strengths

  • Unifies haptic feedback APIs across Android and iOS.
  • Supports custom vibration patterns with variable pauses on Android.
  • Built with Pigeon for type-safe platform communication.

Weaknesses

  • Limited platform support (only Android and iOS).
  • Custom vibration patterns have limited fine-grained support on iOS.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
0

Requires adding the VIBRATE permission to AndroidManifest.xml for full vibration functionality.

bool canVibrate = await Vibrate.canVibrate;
if (canVibrate) {
  Vibrate.vibrate();
}

Alternatives

Packages that do the same job and could replace flutter_vibrate.

  • haptic_feedback

    A plugin for consistent haptic feedback patterns across iOS and Android.

  • haptic_kit

    Haptic feedback, vibration and animated haptic widgets for Flutter on Android and iOS.

  • pulsar_haptics

    Rich haptic feedback and vibration patterns for Flutter on iOS and Android.

  • gaimon

    A Flutter plugin to support haptic feedback with custom patterns.