Skip to main content

flutter3d_pointer_lock 0.4.3 copy "flutter3d_pointer_lock: ^0.4.3" to clipboard
flutter3d_pointer_lock: ^0.4.3 copied to clipboard

PlatformmacOS

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_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.4.3

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 relative deltas, read once per game-loop step. Formerly pointer_lock. For an ordinary Flutter app, helgoboss_pointer_lock fits better.

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