air_pointer 0.2.0
air_pointer: ^0.2.0 copied to clipboard
Platform-agnostic canvas input for Flutter. Unifies mouse, trackpad, and MediaPipe hand-gesture events behind a single CanvasInputController.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add air_pointerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
air_pointer: ^0.2.0Alternatively, 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:air_pointer/air_pointer.dart';