game_scaffold_dart 0.5.0-dev.1 copy "game_scaffold_dart: ^0.5.0-dev.1" to clipboard
game_scaffold_dart: ^0.5.0-dev.1 copied to clipboard

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

2
likes
120/ 160
pub points
0%
popularity

We analyzed this package 24 hours 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

1625 out of 2151 API elements (75.5 %) have documentation comments.

Some symbols that are missing documentation: game_scaffold_dart, game_scaffold_dart.AddRewards, game_scaffold_dart.AddRewards.operator +, game_scaffold_dart.AutoDisposeFamilyStreamNotifier.build, game_scaffold_dart.AutoDisposeFamilyStreamNotifierProvider.

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/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/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 25 issues. Showing the first 2:

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

lib/src/core/clients/game_client.freezed.dart:189:17

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

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

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

lib/src/core/clients/round_client.freezed.dart:206:17

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

To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/clients/round_client.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.3.0 1.3.1 1.3.1
collection ^1.17.2 1.19.1 1.19.1
enum_to_string ^2.0.1 2.0.1 2.0.1
fast_immutable_collections ^9.1.5 9.2.1 11.0.0
freezed_annotation ^2.2.0 2.4.4 2.4.4
json_annotation ^4.8.1 4.9.0 4.9.0
logging ^1.2.0 1.3.0 1.3.0
riverpod ^2.3.6 2.6.1 2.6.1
riverpod_annotation ^2.1.1 2.6.1 2.6.1
Transitive dependencies
Package Constraint Compatible Latest
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
stack_trace - 1.12.0 1.12.0
state_notifier - 1.0.0 1.0.0

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

The constraint `^9.1.5` on fast_immutable_collections does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions fast_immutable_collections 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.15, Dart 3.5.4.

Check the analysis log for details.