app_guards 0.1.1
app_guards: ^0.1.1 copied to clipboard
A solution for adding guards to your Flutter app's navigation easily.
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
pubspec.yaml from the repository URL mismatch: expected https://github.com/Rodsevich/guards but got https://gitlab.com/Rodsevich/guards.
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: app_guards, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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
56 out of 63 API elements (88.9 %) have documentation comments.
Some symbols that are missing documentation: auto_route, auto_route.AutoRouteGuardSatisfyingPage.AutoRouteGuardSatisfyingPage.new, auto_route.GuardsAutoRouteGuard, auto_route.GuardsAutoRouteGuard.GuardsAutoRouteGuard.new, auto_route.GuardsAutoRouteGuard.guard.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Web
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:app_guards/auto_route.dartthat imports:package:app_guards/guards.dartthat imports:package:app_guards/src/common_guards/camera_guard.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `macOS`.
Because:
package:app_guards/auto_route.dartthat imports:package:app_guards/guards.dartthat imports:package:app_guards/src/common_guards/camera_guard.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: Sort directive sections alphabetically.
lib/auto_route.dart:5:1
╷
5 │ import 'package:app_guards/guards.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/auto_route.dart
INFO: The line length exceeds the 80-character limit.
lib/auto_route.dart:47:81
╷
47 │ // resolver.redirectUntil(LoginRoute(onResult: (didLogin) => resolver.next(didLogin)));
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/auto_route.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
auto_route |
^10.1.0 |
10.3.0 | 11.2.0 | |
permission_handler |
^12.0.0 |
12.0.3 | 13.0.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
permission_handler_android |
- | 13.0.1 | 14.1.0 | |
permission_handler_apple |
- | 9.6.4 | 9.6.4 | |
permission_handler_html |
- | 0.1.4+1 | 0.1.4+1 | |
permission_handler_platform_interface |
- | 4.4.1 | 4.4.1 | |
permission_handler_windows |
- | 0.2.2 | 0.2.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.4.3 | 2.4.3 | |
web |
- | 1.1.2 | 1.1.2 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^10.1.0` on auto_route does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions auto_route to update the constraint.
The constraint `^12.0.0` on permission_handler does not support the stable version `13.0.0`.
Try running dart pub upgrade --major-versions permission_handler 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.19, Flutter 3.47.7, Dart 3.13.5.
Check the analysis log for details.