vibration_service 0.1.4
vibration_service: ^0.1.4 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 Dart:
$ dart pub add vibration_serviceWith Flutter:
$ flutter pub add vibration_serviceThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
vibration_service: ^0.1.4Alternatively, your editor might support dart pub get or 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';