glfw_dart 1.0.0 glfw_dart: ^1.0.0 copied to clipboard
dart:ffi bindings for GLFW3 library. It connects the glfw3.dll/libglfw3.so library and loads the functions of glfw3.
We analyzed this package 18 hours ago, and awarded it 110 pub points (of a possible 140):
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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
4 out of 379 API elements (1.1 %) 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.
Some symbols that are missing documentation: glfw_dart.GLFW_ACCUM_ALPHA_BITS
, glfw_dart.GLFW_ACCUM_BLUE_BITS
, glfw_dart.GLFW_ACCUM_GREEN_BITS
, glfw_dart.GLFW_ACCUM_RED_BITS
, glfw_dart.GLFW_ALPHA_BITS
.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:glfw_dart/glfw_dart.dart
that imports:package:glfw_dart/src/structures.dart
that imports:dart:ffi
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 186 issues. Showing the first 2:
INFO: The type name 'TglfwInit_Native' isn't an UpperCamelCase identifier.
lib/src/typedefs.dart:6:9
╷
6 │ typedef TglfwInit_Native = Int32 Function();
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/typedefs.dart
INFO: The type name 'TglfwInit_Func' isn't an UpperCamelCase identifier.
lib/src/typedefs.dart:7:9
╷
7 │ typedef TglfwInit_Func = int Function();
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/typedefs.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
ffi |
^1.1.2 |
1.2.1 | 2.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions ffi
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.2
, Dart 3.3.3
.
Check the analysis log for details.