stacked_core 1.2.4
stacked_core: ^1.2.4 copied to clipboard
Shared code between the stacked packages.
We analyzed this package 15 days 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 50 to 180 characters to describe the package, what it does, and its target use case.
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: stacked_core.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: stacked_core, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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.
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 172 API elements (57.0 %) have documentation comments.
Some symbols that are missing documentation: stacked_core.AdaptiveRoute, stacked_core.AdaptiveRoute.AdaptiveRoute.new, stacked_core.AdaptiveRouter, stacked_core.AdaptiveRouter.AdaptiveRouter.new, 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/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
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 | Notes |
|---|---|---|---|---|
get_it |
^7.1.4 |
7.7.0 | 9.2.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
meta |
- | 1.17.0 | 1.17.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.23.3, Dart 3.10.4.
Check the analysis log for details.