flutter_stateless_chessboard 1.1.1 flutter_stateless_chessboard: ^1.1.1 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 3 days ago, and awarded it 110 pub points (of a possible 140):
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 615954 elements... Initialized dartdoc with 814 libraries Generating docs for library flutter_stateless_chessboard.dart from package:flutter_stateless_chessboard/flutter_stateless_chessboard.dart... Generating docs for library models/piece_type.dart from package:flutter_stateless_chessboard/models/piece_type.dart... Generating docs for library models/square.dart from package:flutter_stateless_chessboard/models/square.dart... Generating docs for library models/short_move.dart from package:flutter_stateless_chessboard/models/short_move.dart... Generating docs for library models/board.dart from package:flutter_stateless_chessboard/models/board.dart... [9 more lines] ERR: warning: flutter_chessboard has no library level documentation comments from flutter_chessboard: (file:///tmp/pana_EPYVRK/lib/flutter_stateless_chessboard.dart:1:9) warning: flutter_chessboard has no library level documentation comments from flutter_chessboard: (file:///tmp/pana_EPYVRK/lib/widgets/chessboard.dart:1:9) error: file already written at "flutter_chessboard/flutter_chessboard-library.html" for symbol flutter_chessboard: (file:///tmp/pana_EPYVRK/lib/widgets/chessboard.dart:1:9) conflicting with file already generated by flutter_chessboard: (file:///tmp/pana_EPYVRK/lib/flutter_stateless_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 [13 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
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: 'hashValues' is deprecated and shouldn't be used. Use Object.hash() instead. This feature was deprecated in v3.1.0-0.0.pre.897.
lib/models/piece.dart:1:23
╷
1 │ import 'dart:ui' show hashValues;
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/piece.dart
INFO: 'hashValues' is deprecated and shouldn't be used. Use Object.hash() instead. This feature was deprecated in v3.1.0-0.0.pre.897.
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
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.0 |
provider |
^6.0.1 |
6.1.2 | 6.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.18.0 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.12.0 | 1.15.0 |
nested |
- | 1.0.0 | 1.0.0 |
sky_engine |
- | 0.0.99 | 0.0.99 |
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
Analyzed with Pana 0.22.3
, Flutter 3.22.0
, Dart 3.4.0
.
Check the analysis log for details.