stacked_core 1.2.4 stacked_core: ^1.2.4 copied to clipboard
Shared code between the stacked packages.
We analyzed this package 11 hours ago, and awarded it 90 pub points (of a possible 160):
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 60 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/FilledStacks/stacked/tree/master/packages/stacked_core
was unreachable. Make sure that the website is reachable via HEAD
requests.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: stacked_core
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: stacked_core
.
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
98 out of 153 API elements (64.1 %) have documentation comments.
Some symbols that are missing documentation: stacked_core.AdaptiveRoute
, stacked_core.AdaptiveRoute.AdaptiveRoute
, stacked_core.AdaptiveRouter
, stacked_core.AdaptiveRouter.AdaptiveRouter
, stacked_core.CupertinoRoute
.
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
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.
0/50 points: code has no errors, warnings, lints, or formatting issues
ERROR: The argument type 'Object?' can't be assigned to the parameter type 'T?'.
lib/src/code_generation/locator/stacked_locator.dart:405:19
╷
405 │ instance: instance,
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/code_generation/locator/stacked_locator.dart
WARNING: The operand can't be null, so the condition is always 'true'.
lib/src/code_generation/router/stacked_router_annotations.dart:21:21
╷
21 │ ) : assert(routes != null);
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/code_generation/router/stacked_router_annotations.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
get_it |
^7.1.4 |
7.7.0 | 8.0.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
collection |
- | 1.19.1 | 1.19.1 |
meta |
- | 1.16.0 | 1.16.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^7.1.4` on get_it does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions get_it
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.22.15
, Dart 3.5.4
.
Check the analysis log for details.