xinput_gamepad 1.3.1 xinput_gamepad: ^1.3.1 copied to clipboard
Support to XInput controllers easily with cool features and a good abstraction.
We analyzed this package 3 days ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/LuanRoger/xinput_gamepad/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
51 out of 61 API elements (83.6 %) have documentation comments.
Some symbols that are missing documentation: xinput_gamepad
, xinput_gamepad.BatteryLevel.batteryBitmask
, xinput_gamepad.BatteryType.batteryTypeBitmask
, xinput_gamepad.Controller.batteryInformation
, xinput_gamepad.Controller.capababilities
.
10/10 points: Package has an example
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:xinput_gamepad/xinput_gamepad.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:xinput_gamepad/xinput_gamepad.dart
that declares support for platforms:Windows
.
Package does not support platform `Linux`.
Because:
package:xinput_gamepad/xinput_gamepad.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:xinput_gamepad/xinput_gamepad.dart
that declares support for platforms:Windows
.
Package does not support platform `Web`.
Because:
package:xinput_gamepad/xinput_gamepad.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:xinput_gamepad/xinput_gamepad.dart
that imports:package:xinput_gamepad/src/enums/controller_type.dart
that imports:package:win32/win32.dart
that imports:package:win32/src/com/iwinhttprequest.dart
that imports:package:win32/src/com/iunknown.dart
that imports:package:win32/src/utils.dart
that imports:package:win32/src/win32/user32.g.dart
that imports:package:win32/src/variant.dart
that imports:package:win32/src/win32/oleaut32.g.dart
that imports:package:win32/src/structs.g.dart
that imports:package:win32/src/guid.dart
that imports:package:win32/src/win32/ole32.g.dart
that imports:package:win32/src/combase.dart
that imports:package:win32/src/macros.dart
that imports:package:win32/src/inline.dart
that imports:package:win32/src/win32/uxtheme.g.dart
that imports:package:win32/src/callbacks.dart
that imports:package:win32/src/types.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 44 issues. Showing the first 2:
INFO: 'BATTERY_LEVEL_EMPTY' is deprecated and shouldn't be used. Use BATTERY_LEVEL.BATTERY_LEVEL_EMPTY instead.
lib/src/enums/battery_level.dart:7:9
╷
7 │ EMPTY(BATTERY_LEVEL_EMPTY),
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/enums/battery_level.dart
INFO: 'BATTERY_LEVEL_LOW' is deprecated and shouldn't be used. Use BATTERY_LEVEL.BATTERY_LEVEL_LOW instead.
lib/src/enums/battery_level.dart:8:7
╷
8 │ LOW(BATTERY_LEVEL_LOW),
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/enums/battery_level.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.17.0 |
1.19.1 | 1.19.1 |
ffi |
^2.1.0 |
2.1.3 | 2.1.3 |
win32 |
^5.0.7 |
5.8.0 | 5.8.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.15
, Dart 3.5.4
.
Check the analysis log for details.