guarded_go_router 0.0.16 copy "guarded_go_router: ^0.0.16" to clipboard
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

120/ 160
pub points
1.03k
downloads

We analyzed this package 7 hours ago, and awarded it 120 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that imports:
  • package:guarded_go_router/src/utils.dart that imports:
  • dart:io
Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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.

Weekly downloads

Display as:
By versions:
1
likes
120
points
1.03k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

This package aims to provide a guard mechanism to a project using go_router and riverpod

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, flutter, flutter_hooks, go_router, hooks_riverpod

More

Packages that depend on guarded_go_router