flutter3d_pointer_lock 0.4.3
flutter3d_pointer_lock: ^0.4.3 copied to clipboard
Locks the mouse pointer and reports relative deltas, read once per game-loop step. Formerly pointer_lock. For an ordinary Flutter app, helgoboss_pointer_lock fits better.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter3d_pointer_lockThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter3d_pointer_lock: ^0.4.3Alternatively, 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:flutter3d_pointer_lock/flutter3d_pointer_lock.dart';