sdl2ui 0.1.4
sdl2ui: ^0.1.4 copied to clipboard
This is a library to make sdl2 easier to use. Dependencies ffi, sdl2, archive.
We analyzed this package 24 days ago, and awarded it 130 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.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 465 API elements (0.2 %) 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: action, action.Action, action.Action.Action.new, action.Action.getDuration, action.Action.getElapsed.
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:sdl2ui/sdl2ui.dartthat imports:package:sdl2ui/sdl2ui/window.dartthat imports:package:sdl2ui/sdl2ui/actions/internal/action_manager.dartthat imports:package:sdl2ui/sdl2ui/actions/internal/action.dartthat imports:package:sdl2ui/sdl2ui/node.dartthat imports:package:sdl2ui/sdl2ui/node_context.dartthat imports:package:sdl2/sdl2.dartthat imports:package:sdl2/sdl2/struct_sdl_ex.dartthat imports:package:sdl2/sdl2/generated/struct_sdl.dartthat imports:package:sdl2/sdl2/generated/lib_sdl.dartthat imports:package:sdl2/sdl2/dylib.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: Missing type annotation.
lib/sdl2ui/actions/move_by.dart:14:10
╷
14 │ MoveBy(duration, math.Point<double> position) : super(duration: duration) {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/sdl2ui/actions/move_by.dart
INFO: Missing type annotation.
lib/sdl2ui/controls/buttons/toggle_button.dart:39:19
╷
39 │ Future _onClick(_) async {
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/sdl2ui/controls/buttons/toggle_button.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
^3.4.10 |
3.6.1 | 4.0.7 | |
ffi |
^2.1.2 |
2.1.4 | 2.1.4 | |
sdl2 |
^1.7.1 |
1.7.1 | 1.7.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
path |
- | 1.9.1 | 1.9.1 | |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.4.10` on archive does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions archive to update the constraint.
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.3, Dart 3.10.4.
Check the analysis log for details.