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 43 hours 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 651255 elements... Initialized dartdoc with 853 libraries Generating docs for library models/half_move.dart from package:flutter_stateless_chessboard/models/half_move.dart... Generating docs for library models/board_color.dart from package:flutter_stateless_chessboard/models/board_color.dart... Generating docs for library models/square.dart from package:flutter_stateless_chessboard/models/square.dart... Generating docs for library models/piece_type.dart from package:flutter_stateless_chessboard/models/piece_type.dart... Generating docs for library models/short_move.dart from package:flutter_stateless_chessboard/models/short_move.dart... [9 more lines] ERR: warning: flutter_chessboard has no library level documentation comments from flutter_chessboard: (file:///tmp/pana_GUSQIN/lib/widgets/chessboard.dart:1:1) warning: flutter_chessboard has no library level documentation comments from flutter_chessboard: (file:///tmp/pana_GUSQIN/lib/flutter_stateless_chessboard.dart:1:1) error: file already written at "flutter_chessboard/index.html" for symbol flutter_chessboard: (file:///tmp/pana_GUSQIN/lib/flutter_stateless_chessboard.dart:1:1) conflicting with file already generated by flutter_chessboard: (file:///tmp/pana_GUSQIN/lib/widgets/chessboard.dart:1:1) 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 8 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 | Notes |
|---|---|---|---|---|
chess |
^0.7.0 |
0.7.0 | 0.8.1 | |
chess_vectors_flutter |
^1.0.16 |
1.1.0 | 1.1.0 | |
fpdart |
^0.0.12 |
0.0.14 | 1.2.0 | |
provider |
^6.0.1 |
6.1.5+1 | 6.1.5+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 | |
nested |
- | 1.0.0 | 1.0.0 | |
tuple |
- | 2.0.2 | 2.0.2 | |
vector_math |
- | 2.2.0 | 2.2.0 |
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.23.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.