leap 0.8.4 leap: ^0.8.4 copied to clipboard
An opinionated toolkit for creating 2D platformers on top of Flame engine.
We analyzed this package 47 hours ago, and awarded it 120 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
1596 out of 2045 API elements (78.0 %) have documentation comments.
Some symbols that are missing documentation: leap
, leap.AnchoredAnimationGroup.animation
, leap.AnchoredAnimationGroup.animationTicker
, leap.AnchoredAnimationGroup.handleLifecycleEventAdd
, leap.AnchoredAnimationGroup.handleLifecycleEventMove
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 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: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/entities/physical_entity.dart:362:48
╷
362 │ final _paint = Paint()..color = Colors.green.withOpacity(0.6);
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/entities/physical_entity.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flame |
^1.18.0 |
1.22.0 | 1.22.0 |
flame_behaviors |
^1.0.0 |
1.2.0 | 1.2.0 |
flame_tiled |
^1.20.2 |
1.21.1 | 1.21.1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
tiled |
^0.10.2 |
0.10.2 | 0.10.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
archive |
- | 3.6.1 | 4.0.2 |
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
ordered_set |
- | 6.1.1 | 6.1.1 |
path |
- | 1.9.1 | 1.9.1 |
petitparser |
- | 6.0.2 | 6.0.2 |
sky_engine |
- | 0.0.0 | 0.0.0 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.