vibration_service 1.0.5
vibration_service: ^1.0.5 copied to clipboard
Lightweight haptic helpers for Flutter using HapticFeedback—success, failure, refresh, warning, selection, and custom duration patterns.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add vibration_serviceThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
vibration_service: ^1.0.5Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:vibration_service/vibration_service.dart';