chessground_webok 3.0.0 chessground_webok: ^3.0.0 copied to clipboard
Chess board UI developed by lichess. It has no chess logic inside so it can be used for chess variants.
We analyzed this package 4 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: chessground_webok
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Could not accept branch name: (unknown)
.
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
99 out of 226 API elements (43.8 %) have documentation comments.
Some symbols that are missing documentation: chessground_webok.Arrow.color
, chessground_webok.Arrow.dest
, chessground_webok.Arrow.orig
, chessground_webok.Board.localOffset2Coord
, chessground_webok.Board.localOffset2SquareId
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `iOS`.
Because:
package:chessground_webok/chessground_webok.dart
that imports:package:chessground_webok/src/widgets/board.dart
that imports:package:android_gesture_exclusion/android_gesture_exclusion.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:chessground_webok/chessground_webok.dart
that imports:package:chessground_webok/src/widgets/board.dart
that imports:package:android_gesture_exclusion/android_gesture_exclusion.dart
that declares support for platforms:Android
.
Package does not support platform `Linux`.
Because:
package:chessground_webok/chessground_webok.dart
that imports:package:chessground_webok/src/widgets/board.dart
that imports:package:android_gesture_exclusion/android_gesture_exclusion.dart
that declares support for platforms:Android
.
Package does not support platform `macOS`.
Because:
package:chessground_webok/chessground_webok.dart
that imports:package:chessground_webok/src/widgets/board.dart
that imports:package:android_gesture_exclusion/android_gesture_exclusion.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:chessground_webok/chessground_webok.dart
that imports:package:chessground_webok/src/widgets/board.dart
that imports:package:android_gesture_exclusion/android_gesture_exclusion.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:chessground_webok/chessground_webok.dart
that imports:package:chessground_webok/src/widgets/board.dart
that imports:package:android_gesture_exclusion/android_gesture_exclusion.dart
that imports:dart:io
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.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/src/widgets/board.dart:615:52
╷
615 │ widget.settings.drawShape.enable == false) return;
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/board.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/widgets/board.dart:627:52
╷
627 │ widget.settings.drawShape.enable == false) return;
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/board.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
android_gesture_exclusion |
^0.1.0 |
0.1.0 | 0.4.0 |
fast_immutable_collections |
^9.0.0 |
9.2.1 | 11.0.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
android_gesture_exclusion_platform_interface |
- | 0.1.0 | 0.2.0 |
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.0 | 0.0.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
visibility_detector |
- | 0.3.3 | 0.4.0+2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.1.0` on android_gesture_exclusion does not support the stable version `0.2.1`.
Try running dart pub upgrade --major-versions android_gesture_exclusion
to update the constraint.
The constraint `^9.0.0` on fast_immutable_collections does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions fast_immutable_collections
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.