flame_spatial_grid 0.9.2
flame_spatial_grid: ^0.9.2 copied to clipboard
Spatial partitioning of game field to improve performance of collision detection and rendering
We analyzed this package 6 hours ago, and awarded it 80 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.
10/10 points: 20% or more of the public API has dartdoc comments
1350 out of 1988 API elements (67.9 %) have documentation comments.
Some symbols that are missing documentation: flame_spatial_grid, flame_spatial_grid.AnimationGlobal, flame_spatial_grid.AnimationGlobal.AnimationGlobal.new, flame_spatial_grid.AnimationGlobal.animationType, flame_spatial_grid.AnimationGlobal.tickersProvider.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 39 issues. Showing the first 2:
ERROR: The method 'set' isn't defined for the type 'CollisionProspect'.
lib/src/collisions/broadphase.dart:374:53
╷
374 │ prospect = _prospectPool[_prospectPoolIndex]..set(activeItem, potential);
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/collisions/broadphase.dart
ERROR: The argument type 'int Function(Object?, Object?, [Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?])' can't be assigned to the parameter type 'int'.
lib/src/collisions/broadphase.dart:375:19
╷
375 │ _potentials[prospect.hash] = prospect;
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/collisions/broadphase.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
dart_bloom_filter |
^1.0.0 |
1.0.0 | 1.0.0 | |
flame |
^1.16.0 |
1.38.2 | 1.38.2 | |
flame_tiled |
^1.20.0 |
1.21.2 | 3.1.2 | |
flat_buffers |
^23.5.26 |
23.5.26 | 25.9.23 | |
isolate_manager |
^4.1.3 |
4.3.1 | 6.3.2 | |
js |
^0.6.7 |
0.6.7 | 0.7.2 | Discontinued |
meta |
^1.8.0 |
1.19.0 | 1.19.0 | |
tiled |
^0.10.2 |
0.10.2 | 0.12.0 | |
vector_math |
^2.1.4 |
2.4.2 | 2.4.2 | |
xml |
^6.5.0 |
6.6.1 | 7.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 3.6.1 | 4.3.0 | |
async |
- | 2.13.1 | 2.13.1 | |
bit_array |
- | 2.3.0 | 2.3.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
isolate_contactor |
- | 4.2.0 | 4.2.0 | Discontinued |
json_annotation |
- | 4.12.0 | 4.12.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
murmurhash |
- | 1.0.1 | 1.0.1 | |
ordered_set |
- | 8.0.1 | 8.0.1 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 0.5.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 7 issues. Showing the first 2:
The constraint `^1.20.0` on flame_tiled does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flame_tiled to update the constraint.
The constraint `^23.5.26` on flat_buffers does not support the stable version `25.9.23`.
Try running dart pub upgrade --major-versions flat_buffers 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.23.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.