Skip to main content

jugnu 1.0.0 copy "jugnu: ^1.0.0" to clipboard
jugnu: ^1.0.0 copied to clipboard

Small helpers for go_router: typed results, async route guards, typed params, shell tab helpers, testing utilities and a deep link generator.

1.0.0 #

First release.

  • pushForResult, pushNamedForResult and popWithResult, with a fallback location when there is nothing to pop.
  • guards() to chain sync and async route guards, with protection against redirect loops.
  • RouteParam for typed path and query parameters.
  • switchTab and resetTab for StatefulShellRoute.
  • DeepLinkGenerator, router.deepLinks() and the dart run jugnu:deeplink command.
  • JugnuDebug to share the live navigation stack with developer tools.
  • package:jugnu/testing.dart with MockGoRouter, isAt, expectRoute, expectRedirect, openDeepLink and expectDeepLink.
0
likes
160
points
0
downloads

Documentation

API reference

Publisher

verified publishersanketmanohar.com

Weekly Downloads

Small helpers for go_router: typed results, async route guards, typed params, shell tab helpers, testing utilities and a deep link generator.

Repository (GitHub)
View/report issues

Topics

#go-router #navigation #routing #deep-linking #testing

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_test, go_router

More

Packages that depend on jugnu