flame_spatial_grid 0.9.2 copy "flame_spatial_grid: ^0.9.2" to clipboard
flame_spatial_grid: ^0.9.2 copied to clipboard

Spatial partitioning of game field to improve performance of collision detection and rendering

3
likes
100/ 160
pub points
69
downloads

We analyzed this package 40 hours ago, and awarded it 100 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

993 out of 1495 API elements (66.4 %) 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.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 20 issues. Showing the first 2:

ERROR: The operator '[]' isn't defined for the type 'Iterable

lib/src/collisions/optimizer/collision_optimizer.dart:63:46

   ╷
63 │       final child = componentsForOptimization[i];
   │                                              ^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/collisions/optimizer/collision_optimizer.dart

ERROR: The operator '[]' isn't defined for the type 'Iterable

lib/src/collisions/optimizer/collision_optimizer.dart:90:54

   ╷
90 │           final component = componentsForOptimization[index];
   │                                                      ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/collisions/optimizer/collision_optimizer.dart

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

Failed check 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.30.0 1.30.0
flame_tiled ^1.20.0 1.21.2 3.0.4
flat_buffers ^23.5.26 23.5.26 23.5.26
isolate_manager ^4.1.3 4.3.1 6.0.1
js ^0.6.7 0.6.7 0.7.2 Discontinued
meta ^1.8.0 1.16.0 1.17.0
tiled ^0.10.2 0.10.2 0.11.1
vector_math ^2.1.4 2.1.4 2.2.0
xml ^6.5.0 6.5.0 6.6.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.7
async - 2.13.0 2.13.0
bit_array - 2.3.0 2.3.0
characters - 1.4.0 1.4.1
crypto - 3.0.6 3.0.6
isolate_contactor - 4.2.0 4.2.0 Discontinued
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.13.0
murmurhash - 1.0.1 1.0.1
ordered_set - 8.0.0 8.0.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 7.0.0
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 5 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 `^4.1.3` on isolate_manager does not support the stable version `5.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
100
points
69
downloads

Publisher

verified publisherasgalex.pro

Weekly Downloads

Spatial partitioning of game field to improve performance of collision detection and rendering

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

collection, dart_bloom_filter, flame, flame_tiled, flat_buffers, flutter, isolate_manager, js, meta, tiled, vector_math, xml

More

Packages that depend on flame_spatial_grid