flutter_stockfish_plugin 1.2.0
flutter_stockfish_plugin: ^1.2.0 copied to clipboard
A Stockfish Plugin for Flutter. Use Stockfish 17 directly in your flutter app.
We analyzed this package 8 days ago, and awarded it 150 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: GPL-3.0.
10/10 points: 20% or more of the public API has dartdoc comments
12 out of 54 API elements (22.2 %) have documentation comments.
Some symbols that are missing documentation: stockfish, stockfish.Stockfish, stockfish_bindings, stockfish_bindings.StockfishChessEngineAbstractBindings, stockfish_bindings.StockfishChessEngineAbstractBindings.StockfishChessEngineAbstractBindings.new.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ Windows
-
✓ Linux
-
✓ Web
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:flutter_stockfish_plugin/stockfish.dartthat declares support for platforms:Android,Windows,Linux,Web.
Package does not support platform `macOS`.
Because:
package:flutter_stockfish_plugin/stockfish.dartthat declares support for platforms:Android,Windows,Linux,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Android
Because:
package:flutter_stockfish_plugin/stockfish_web_bindings.dartthat imports:package:web/web.dartthat imports:package:web/src/helpers.dartthat imports:package:web/src/helpers/http.dartthat imports:package:web/src/helpers/events/events.dartthat imports:package:web/src/helpers/events/streams.dartthat imports:package:web/src/dom.dartthat imports:package:web/src/dom/xhr.dartthat imports:package:web/src/dom/html.dartthat imports:package:web/src/dom/webmidi.dartthat imports:package:web/src/dom/hr_time.dartthat imports:package:web/src/dom/user_timing.dartthat imports:package:web/src/dom/performance_timeline.dartthat imports:dart:js_interop
Package not compatible with platform Windows
Because:
package:flutter_stockfish_plugin/stockfish_web_bindings.dartthat imports:package:web/web.dartthat imports:package:web/src/helpers.dartthat imports:package:web/src/helpers/http.dartthat imports:package:web/src/helpers/events/events.dartthat imports:package:web/src/helpers/events/streams.dartthat imports:package:web/src/dom.dartthat imports:package:web/src/dom/xhr.dartthat imports:package:web/src/dom/html.dartthat imports:package:web/src/dom/webmidi.dartthat imports:package:web/src/dom/hr_time.dartthat imports:package:web/src/dom/user_timing.dartthat imports:package:web/src/dom/performance_timeline.dartthat imports:dart:js_interop
Package not compatible with platform Linux
Because:
package:flutter_stockfish_plugin/stockfish_web_bindings.dartthat imports:package:web/web.dartthat imports:package:web/src/helpers.dartthat imports:package:web/src/helpers/http.dartthat imports:package:web/src/helpers/events/events.dartthat imports:package:web/src/helpers/events/streams.dartthat imports:package:web/src/dom.dartthat imports:package:web/src/dom/xhr.dartthat imports:package:web/src/dom/html.dartthat imports:package:web/src/dom/webmidi.dartthat imports:package:web/src/dom/hr_time.dartthat imports:package:web/src/dom/user_timing.dartthat imports:package:web/src/dom/performance_timeline.dartthat imports:dart:js_interop
Package not compatible with platform Web
Because:
package:flutter_stockfish_plugin/stockfish_c_bindings_generated.dartthat imports:dart:ffi
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_stockfish_plugin/stockfish.dartthat imports:package:flutter_stockfish_plugin/stockfish_native_bindings.dartthat imports:package:flutter_stockfish_plugin/stockfish_c_bindings_generated.dartthat 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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Missing type annotation.
lib/stockfish_state.dart:10:3
╷
10 │ setValue(StockfishState v) {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/stockfish_state.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.1.0 |
2.1.4 | 2.1.4 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
web |
^1.1.1 |
1.1.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
vector_math |
- | 2.2.0 | 2.2.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.23.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.