guarded_go_router 0.0.16
guarded_go_router: ^0.0.16 copied to clipboard
This package aims to provide a guard mechanism to a project using go_router and riverpod
We analyzed this package 7 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
49 out of 163 API elements (30.1 %) have documentation comments.
Some symbols that are missing documentation: guarded_go_router, guarded_go_router.ChildWidgetBuilder, guarded_go_router.CupertinoPageX, guarded_go_router.CupertinoPageX.copyWith, guarded_go_router.CustomTransitionPageX.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:guarded_go_router/guarded_go_router.dartthat imports:package:guarded_go_router/src/utils.dartthat imports:dart:io
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.17.2 |
1.19.1 | 1.19.1 | |
flutter_hooks |
^0.20.4 |
0.20.5 | 0.21.3+1 | |
go_router |
^15.1.1 |
15.1.3 | 17.1.0 | |
hooks_riverpod |
^2.1.3 |
2.6.1 | 3.3.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
flutter_riverpod |
- | 2.6.1 | 3.3.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
path |
- | 1.9.1 | 1.9.1 | |
riverpod |
- | 2.6.1 | 3.2.1 | |
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.
Found 3 issues. Showing the first 2:
The constraint `^0.20.4` on flutter_hooks does not support the stable version `0.21.0`.
Try running dart pub upgrade --major-versions flutter_hooks to update the constraint.
The constraint `^15.1.1` on go_router does not support the stable version `16.0.0`.
Try running dart pub upgrade --major-versions go_router to update the constraint.
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 1 error:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/go_notifier.dart:17:9- The argument type 'ProviderListenable<Object?>' can't be assigned to the parameter type 'AlwaysAliveProviderListenable<Object?>'.
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.10, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.