game_scaffold_dart 0.4.1+2 copy "game_scaffold_dart: ^0.4.1+2" to clipboard
game_scaffold_dart: ^0.4.1+2 copied to clipboard

A scaffold for game projects, taking care of server implementation and some general events

2
likes
120/ 160
pub points
275
downloads

We analyzed this package 7 days ago, and awarded it 120 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

1388 out of 1874 API elements (74.1 %) have documentation comments.

Some symbols that are missing documentation: game_scaffold_dart, game_scaffold_dart.AutoDisposeStateProviderFamily, game_scaffold_dart.AutoDisposeStateProviderFamily.AutoDisposeStateProviderFamily, game_scaffold_dart.BackendProviders, game_scaffold_dart.BackendProviders.lobby.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
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_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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • 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

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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 65 issues. Showing the first 2:

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

lib/src/core/clients/providers.freezed.dart:135:17

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

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

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

lib/src/core/clients/providers.freezed.dart:263:17

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

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
characters ^1.1.0 1.4.0 1.4.0
collection ^1.15.0 1.19.1 1.19.1
enum_to_string ^2.0.1 2.0.1 2.0.1
fast_immutable_collections ^7.0.7-dev0 7.4.3 11.0.0
freezed_annotation ^1.0.0 1.1.0 2.4.4
json_annotation ^4.3.0 4.9.0 4.9.0
logging ^1.0.1 1.3.0 1.3.0
riverpod ^1.0.0 1.0.3+1 2.6.1
rxdart ^0.27.1 0.27.7 0.28.0
socket_io ^1.0.0 1.0.1 1.0.1
socket_io_client ^1.0.0 1.0.2 3.0.2
stream ^3.0.2+4 3.2.3+1 4.0.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
charcode - 1.4.0 1.4.0
crypto - 3.0.6 3.0.6
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
js - 0.6.7 0.7.1
meta - 1.16.0 1.16.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
rikulo_commons - 6.1.0 6.1.0
socket_io_common - 1.0.1 3.0.1
source_span - 1.10.1 1.10.1
state_notifier - 0.7.2+1 1.0.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
web - 1.1.0 1.1.0

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

Found 6 issues. Showing the first 2:

The constraint `^7.0.7-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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.