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 5 days ago, and awarded it 130 pub points (of a possible 140):
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 66 API elements (77.3 %) have documentation comments.
Some symbols that are missing documentation: xinput_gamepad
, xinput_gamepad.BatteryLevel.batteryBitmask
, xinput_gamepad.BatteryLevel.BatteryLevel.fromBitmask
, xinput_gamepad.BatteryType.batteryTypeBitmask
, xinput_gamepad.BatteryType.BatteryType.fromBitmask
.
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
.
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.18.0 | 1.18.0 |
ffi |
^2.1.0 |
2.1.2 | 2.1.2 |
win32 |
^5.0.7 |
5.5.1 | 5.5.1 |
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
Analyzed with Pana 0.22.3
, Dart 3.4.0
.
Check the analysis log for details.