helgoboss_pointer_lock 0.9.0
helgoboss_pointer_lock: ^0.9.0 copied to clipboard
Flutter plugin that makes it possible to lock the mouse pointer to its current position
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add helgoboss_pointer_lockThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
helgoboss_pointer_lock: ^0.9.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:helgoboss_pointer_lock/helgoboss_pointer_lock.dart';