flutter3d_pointer_lock 0.5.0
flutter3d_pointer_lock: ^0.5.0 copied to clipboard
Locks the mouse pointer and reports its motion as relative deltas, which Flutter offers on no desktop platform and does not surface in a browser. Formerly pointer_lock.
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.5.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:flutter3d_pointer_lock/flutter3d_pointer_lock.dart';