juice_routing 0.7.0
juice_routing: ^0.7.0 copied to clipboard
Declarative, state-driven navigation for Juice applications with Navigator 2.0 integration, route guards, and deep linking support.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.7.0 - 2026-01-26 #
Added #
- Initial release of juice_routing
RoutingBlocfor state-driven navigation managementRoutingStatewith stack, history, pending navigation, and error tracking- Path resolution with parameter extraction (
:param) and wildcards (*) - Route guard system with
GuardResult.allow(),redirect(), andblock() - Redirect loop protection (max 5 redirects)
- Navigator 2.0 integration via
JuiceRouterDelegateandJuiceRouteInformationParser - Navigation events:
NavigateEvent,PopEvent,PopUntilEvent,PopToRootEvent,ResetStackEvent - Route visibility tracking with time-on-route measurement
- Rebuild groups for efficient UI updates
- Nested route support
- Route transitions (fade, slideRight, slideBottom, scale)
- Example app demonstrating all features