game_scaffold_games 0.4.1 copy "game_scaffold_games: ^0.4.1" to clipboard
game_scaffold_games: ^0.4.1 copied to clipboard

Games for the game_scaffold_dart package

0
likes
80/ 140
pub points
0%
popularity

We analyzed this package 22 hours ago, and awarded it 80 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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.

failed
Provide documentation
0 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

4 out of 27 API elements (14.8 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: game_scaffold_games, game_scaffold_games.TicTacToeGame, game_scaffold_games.TicTacToeGame.TicTacToeGame, game_scaffold_games.TicTacToeGame.board, game_scaffold_games.TicTacToeGame.canMove.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:game_scaffold_games/game_scaffold_games.dart that imports:
  • package:game_scaffold_games/src/tic_tac_toe.dart that imports:
  • package:game_scaffold_dart/game_scaffold_dart.dart that imports:
  • package:game_scaffold_dart/src/core.dart that imports:
  • package:game_scaffold_dart/src/core/client.dart that imports:
  • package:game_scaffold_dart/src/core/clients/clients.dart that imports:
  • package:game_scaffold_dart/src/core/clients/on_device/on_device.dart that imports:
  • package:game_scaffold_dart/src/core/clients/on_device/server_client.dart that imports:
  • package:game_scaffold_dart/src/core/backend.dart that imports:
  • package:game_scaffold_dart/src/core/backend/game_state.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 12 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/tic_tac_toe.freezed.dart:175:17

    ╷
175 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/tic_tac_toe.freezed.dart

WARNING: This API is available since SDK 2.14.0, but constraints '>=2.13.0 <3.0.0' don't guarantee it.

lib/src/tic_tac_toe.freezed.dart:185:30

    ╷
185 │   int get hashCode => Object.hash(runtimeType, generic, board, type);
    │                              ^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/tic_tac_toe.freezed.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
fast_immutable_collections ^7.0.5-dev0 7.4.3 10.2.2
freezed_annotation ^1.0.0 1.1.0 2.4.1
game_scaffold_dart ^0.4.1+1 0.4.1+2 0.4.1+2
json_annotation ^4.3.0 4.8.1 4.8.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
charcode - 1.3.1 1.3.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
enum_to_string - 2.0.1 2.0.1
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
logging - 1.2.0 1.2.0
meta - 1.14.0 1.14.0
mime - 1.0.5 1.0.5
path - 1.9.0 1.9.0
rikulo_commons - 6.0.1+1 6.0.1+1
riverpod - 1.0.3+1 2.5.1
rxdart - 0.27.7 0.27.7
socket_io - 1.0.1 1.0.1
socket_io_client - 1.0.2 2.0.3+1
socket_io_common - 1.0.1 2.0.3
source_span - 1.10.0 1.10.0
state_notifier - 0.7.2+1 1.0.0
stream - 3.1.0+1 3.1.0+1
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 4.4.0
web - 0.5.1 0.5.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^7.0.5-dev0` on fast_immutable_collections does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions fast_immutable_collections to update the constraint.

The constraint `^1.0.0` on freezed_annotation does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.