macos_haptic_feedback 1.0.0 copy "macos_haptic_feedback: ^1.0.0" to clipboard
macos_haptic_feedback: ^1.0.0 copied to clipboard

PlatformmacOS

A macOS plugin for trackpad haptic feedback

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add macos_haptic_feedback

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  macos_haptic_feedback: ^1.0.0

Alternatively, 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:macos_haptic_feedback/macos_haptic_feedback.dart';