sdl_gamepad 1.1.2
sdl_gamepad: ^1.1.2 copied to clipboard
A Dart-friendly, cross-platform gamepads API that wraps SDL3 via the sdl3 package
We analyzed this package 3 days ago, and awarded it 90 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
86 out of 91 API elements (94.5 %) have documentation comments.
Some symbols that are missing documentation: sdl_gamepad, sdl_gamepad.SdlGuid, sdl_gamepad.SdlGuid.SdlGuid.new, sdl_gamepad.SdlGuid.data, sdl_gamepad.SdlLibrary.SdlLibrary.new.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
ERROR: Too many positional arguments: 0 expected, but 1 found.
lib/src/gamepad.dart:33:45
╷
33 │ final array = sdl.SdlGamepadEx.gets(lengthPointer);
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/gamepad.dart
ERROR: The argument type 'List
lib/src/gamepad.dart:38:21
╷
38 │ sdl.sdlFree(array);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/gamepad.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
ffi |
^2.1.3 |
2.2.0 | 2.2.0 | |
sdl3 |
^2.4.1 |
2.9.2 | 2.9.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
change_case |
- | 2.2.0 | 2.2.0 | |
meta |
- | 1.18.3 | 1.18.3 |
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.23.13, Dart 3.12.2.
Check the analysis log for details.