flutter3d_pointer_lock 0.5.0 copy "flutter3d_pointer_lock: ^0.5.0" to clipboard
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_lock

This 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.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:flutter3d_pointer_lock/flutter3d_pointer_lock.dart';
0
likes
150
points
115
downloads

Documentation

API reference

Publisher

verified publisherpleion.dev

Weekly Downloads

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.

Topics

#input #mouse #pointer-lock #game-development

License

MIT (license)

Dependencies

flutter, plugin_platform_interface, web

More

Packages that depend on flutter3d_pointer_lock

Packages that implement flutter3d_pointer_lock