inputter 1.0.2 copy "inputter: ^1.0.2" to clipboard
inputter: ^1.0.2 copied to clipboard

Desktop automation package for Windows desktops. Includes window manipulation, input hooks, key remapping, and more.

4
likes
130/ 160
pub points
37
downloads

We analyzed this package 31 hours ago, and awarded it 130 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://www.inputter.dev was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

10 out of 84 API elements (11.9 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: inputter.BitInt, inputter.CursorManager, inputter.CursorManager.CursorManager.new, inputter.CursorManager.getCursorPosition, inputter.CursorManager.getPixel.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:inputter/inputter.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:inputter/inputter.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:inputter/inputter.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:inputter/inputter.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:inputter/inputter.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:inputter/inputter.dart that imports:
  • package:inputter/src/window_manager.dart that imports:
  • package:win32/win32.dart that imports:
  • package:win32/src/winrt/userdatapaths.dart that imports:
  • package:win32/src/winrt/iuserdatapathsstatics.dart that imports:
  • package:win32/src/com/iinspectable.dart that imports:
  • package:win32/src/com/iunknown.dart that imports:
  • package:win32/src/utils.dart that imports:
  • package:win32/src/user32.dart that imports:
  • package:win32/src/structs.g.dart that imports:
  • package:win32/src/structs.dart that imports:
  • package:win32/src/constants.dart that imports:
  • package:win32/src/macros.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 6 issues. Showing the first 2:

INFO: The import of 'package:inputter/src/window_manager.dart' is unnecessary because all of the used elements are also provided by the import of 'package:inputter/inputter.dart'.

lib/src/cursor_manager.dart:2:8

  ╷
2 │ import 'package:inputter/src/window_manager.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/cursor_manager.dart

INFO: The variable name 'DC' isn't a lowerCamelCase identifier.

lib/src/cursor_manager.dart:60:9

   ╷
60 │     var DC = win32.GetDC(win32.NULL);
   │         ^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/cursor_manager.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
ffi >=1.1.2 <3.0.0 2.1.4 2.1.4
image ^3.2.0 3.3.0 4.5.4
win32 ^2.7.0 2.7.0 5.14.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.7
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
petitparser - 7.0.0 7.0.0
typed_data - 1.4.0 1.4.0
xml - 6.6.0 6.6.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^3.2.0` on image does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions image to update the constraint.

The constraint `^2.7.0` on win32 does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions win32 to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
130
points
37
downloads

Publisher

verified publisherinputter.dev

Weekly Downloads

Desktop automation package for Windows desktops. Includes window manipulation, input hooks, key remapping, and more.

Homepage
Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ffi, image, win32

More

Packages that depend on inputter