leap 0.8.4 copy "leap: ^0.8.4" to clipboard
leap: ^0.8.4 copied to clipboard

An opinionated toolkit for creating 2D platformers on top of Flame engine.

110/ 160
pub points
96
downloads

We analyzed this package 22 days ago, and awarded it 110 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

2418 out of 2862 API elements (84.5 %) have documentation comments.

Some symbols that are missing documentation: leap, leap.AnchoredAnimationGroup.AnchoredAnimationGroup.new, leap.AnchoredAnimationGroup.animation, leap.AnchoredAnimationGroup.animationTicker, leap.AnchoredAnimationGroup.findRenderContext.

Passed check 10/10 points: Package has an example

Passed 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

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

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

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

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

Found 18 issues. Showing the first 2:

WARNING: This default clause is covered by the previous cases.

lib/src/entities/ladder.dart:125:9

    ╷
125 │         default:
    │         ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/entities/ladder.dart

INFO: 'HasGameRef' is deprecated and shouldn't be used. Use HasGameReference instead. This mixin will be removed in a future version of Flame.

lib/src/entities/behaviors/collision_detection_behavior.dart:9:10

  ╷
9 │     with HasGameRef<LeapGame> {
  │          ^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/entities/behaviors/collision_detection_behavior.dart

Failed report section
Support up-to-date dependencies
10 / 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
flame ^1.18.0 1.34.0 1.34.0
flame_behaviors ^1.0.0 1.3.1 1.3.1
flame_tiled ^1.20.2 1.21.2 3.0.9
tiled ^0.10.2 0.10.2 0.11.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.7
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
ordered_set - 8.0.0 8.0.0
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
xml - 6.6.1 6.6.1

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

The constraint `^1.20.2` 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 `^0.10.2` on tiled does not support the stable version `0.11.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_NAMED - lib/src/entities/behaviors/physical_behavior.dart:9:11 - No associated named super constructor parameter.
  • SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_NAMED - lib/src/entities/behaviors/physical_behavior.dart:10:11 - No associated named super constructor parameter.
  • SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_NAMED - lib/src/entities/behaviors/remove_after_death_animation_behavior.dart:7:11 - No associated named super constructor parameter.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
19
likes
110
points
96
downloads

Publisher

verified publishermelby.me

Weekly Downloads

An opinionated toolkit for creating 2D platformers on top of Flame engine.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flame, flame_behaviors, flame_tiled, flutter, tiled

More

Packages that depend on leap