flame_riverpod 3.0.0
flame_riverpod: ^3.0.0 copied to clipboard
Widgets, providers, and an example project for using Riverpod in conjunction with Flame.
We analyzed this package in the last hour, and awarded it 140 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
63 out of 81 API elements (77.8 %) have documentation comments.
Some symbols that are missing documentation: flame_riverpod.ComponentRef.ComponentRef.new, flame_riverpod.ComponentRef.context, flame_riverpod.ComponentRef.exists, flame_riverpod.ComponentRef.invalidate, flame_riverpod.ComponentRef.read.
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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Missing type annotation.
lib/src/game_provider.dart:14:3
╷
14 │ set(FlameGame candidate) {
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/game_provider.dart
INFO: Missing type annotation.
lib/src/has_component_ref_mixin.dart:25:3
╷
25 │ listen<T>(ProviderListenable<T> provider, void Function(T?, T) onChange,
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/has_component_ref_mixin.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flame |
^1.5.0 |
1.34.0 | 1.34.0 | |
flutter_riverpod |
^2.1.3 |
2.6.1 | 3.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
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 | |
riverpod |
- | 2.6.1 | 3.1.0 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
state_notifier |
- | 1.0.0 | 1.0.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.1.3` on flutter_riverpod does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions flutter_riverpod 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.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.