flame_go 0.0.3 copy "flame_go: ^0.0.3" to clipboard
flame_go: ^0.0.3 copied to clipboard

flame items

1
likes
100/ 160
pub points
42
downloads

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

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

Failed check 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 50 to 180 characters to describe the package, what it does, and its target use case.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/07ami/flame_go.git was unreachable. Make sure that the website is reachable via HEAD requests.

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: BSD-3-Clause.

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

401 out of 603 API elements (66.5 %) have documentation comments.

Some symbols that are missing documentation: bounce_ball_at_bottom, bounce_ball_at_bottom.BounceBallAtBottom.BounceBallAtBottom.new, bounce_ball_at_bottom.BounceBallAtBottom.addGameStateListener, bounce_ball_at_bottom.BounceBallAtBottom.assertHasLayout, bounce_ball_at_bottom.BounceBallAtBottom.canvasSize.

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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:flame_go/flame_go.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:flame_go/flame_go.dart that imports:
  • package:flame_go/flame_go/flame_go_widget.dart that imports:
  • package:flame_go/flame_go/items/bounce_ball_at_bottom/bounce_ball_at_bottom.dart that imports:
  • package:flame_go/flame_go/items/bounce_ball_at_bottom/bounce_ball_at_bottom_controller.dart that imports:
  • package:flame_go/flame_go/items/widget/ball/normal_ball.dart that imports:
  • package:flame_go/flame_go/items/widget/wall/normal_wall.dart that imports:
  • package:flame_forge2d/flame_forge2d.dart that imports:
  • package:flame_forge2d/forge2d_world.dart that imports:
  • package:flame/components.dart that imports:
  • package:flame/src/text/renderers/text_paint.dart that imports:
  • package:flame/text.dart that imports:
  • package:flame/src/text/renderers/text_renderer.dart that imports:
  • package:flame/extensions.dart that imports:
  • package:flame/src/extensions/rect.dart that imports:
  • package:flame/geometry.dart that imports:
  • package:flame/src/geometry/polygon_ray_intersection.dart that imports:
  • package:flame/collisions.dart that imports:
  • package:flame/src/collisions/hitboxes/shape_hitbox.dart that imports:
  • package:flame/game.dart that imports:
  • package:flame/src/game/mixins/single_game_instance.dart that imports:
  • package:flame/src/game/game.dart that imports:
  • package:flame/src/flame.dart that imports:
  • package:flame/src/device.dart that imports:
  • dart:io

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

ERROR: The name 'Vector2' is defined in the libraries 'package:vector_math/vector_math.dart (via package:flame/components.dart)' and 'package:vector_math/vector_math_64.dart (via package:flame_forge2d/flame_forge2d.dart)'.

lib/flame_go/items/bounce_ball_at_bottom/bounce_ball_at_bottom.dart:20:20

   ╷
20 │           gravity: Vector2(0, 10),
   │                    ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flame_go/items/bounce_ball_at_bottom/bounce_ball_at_bottom.dart

ERROR: 'Vector2' isn't a function.

lib/flame_go/items/bounce_ball_at_bottom/bounce_ball_at_bottom.dart:20:20

   ╷
20 │           gravity: Vector2(0, 10),
   │                    ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flame_go/items/bounce_ball_at_bottom/bounce_ball_at_bottom.dart

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Partially passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
flame ^1.17.0 1.28.0 1.28.0
flame_forge2d ^0.18.0 0.18.3+1 0.19.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
forge2d - 0.13.1 0.14.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
ordered_set - 7.0.0 7.0.0
vector_math - 2.1.4 2.1.5

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

The constraint `^0.18.0` on flame_forge2d does not support the stable version `0.19.0`, that was published 0 days ago.

When flame_forge2d is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions flame_forge2d 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.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
100
points
42
downloads

Publisher

unverified uploader

Weekly Downloads

flame items

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flame, flame_forge2d, flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on flame_go