flutter_stateless_chessboard 1.1.2 flutter_stateless_chessboard: ^1.1.2 copied to clipboard
A Chessboard Widget for Flutter. This package provides just the chessboard. The game logic can be implemented using chess library.
We analyzed this package 4 days ago, and awarded it 70 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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting flutter_stateless_chessboard... Discovering libraries... Linking elements... Precaching local docs for 632707 elements... Initialized dartdoc with 831 libraries Generating docs for library widgets/ui_square.dart from package:flutter_stateless_chessboard/widgets/ui_square.dart... Generating docs for library widgets/chessboard.dart from package:flutter_stateless_chessboard/widgets/chessboard.dart... Generating docs for library widgets/ui_tile.dart from package:flutter_stateless_chessboard/widgets/ui_tile.dart... Generating docs for library widgets/ui_piece.dart from package:flutter_stateless_chessboard/widgets/ui_piece.dart... Generating docs for library flutter_stateless_chessboard.dart from package:flutter_stateless_chessboard/flutter_stateless_chessboard.dart... [9 more lines] ERR: warning: flutter_chessboard has no library level documentation comments from flutter_chessboard: (file:///tmp/pana_VMITBU/lib/widgets/chessboard.dart:1:9) warning: flutter_chessboard has no library level documentation comments from flutter_chessboard: (file:///tmp/pana_VMITBU/lib/flutter_stateless_chessboard.dart:1:9) error: file already written at "flutter_chessboard/index.html" for symbol flutter_chessboard: (file:///tmp/pana_VMITBU/lib/flutter_stateless_chessboard.dart:1:9) conflicting with file already generated by flutter_chessboard: (file:///tmp/pana_VMITBU/lib/widgets/chessboard.dart:1:9) Dartdoc generates a path and filename to write to for each symbol. 'flutter_chessboard' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library [18 more lines]
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
ERROR: The method 'hashValues' isn't defined for the type 'Piece'.
lib/models/piece.dart:41:23
╷
41 │ int get hashCode => hashValues(color, type);
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/piece.dart
WARNING: Unused import: 'dart:ui'.
lib/models/piece.dart:1:8
╷
1 │ import 'dart:ui' show hashValues;
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/piece.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
chess |
^0.7.0 |
0.7.0 | 0.8.1 |
chess_vectors_flutter |
^1.0.16 |
1.1.0 | 1.1.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
fpdart |
^0.0.12 |
0.0.14 | 1.1.1 |
provider |
^6.0.1 |
6.1.2 | 6.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
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 |
nested |
- | 1.0.0 | 1.0.0 |
sky_engine |
- | 0.0.0 | 0.0.0 |
tuple |
- | 2.0.2 | 2.0.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.7.0` on chess does not support the stable version `0.8.0`.
Try running dart pub upgrade --major-versions chess
to update the constraint.
The constraint `^0.0.12` on fpdart does not support the stable version `0.1.0`.
Try running dart pub upgrade --major-versions fpdart
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
UNDEFINED_METHOD
-lib/models/piece.dart:41:23
- The method 'hashValues' isn't defined for the type 'Piece'.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.