simple_routes 0.0.2 simple_routes: ^0.0.2 copied to clipboard
Simple, class-based route management for go_router.
0.0.2 #
- Improve README
- Remove static route getter from example for consistency
0.0.1 #
Initial Release
- SimpleRoute and DataRoute base classes for routes
path
and generatedfullPath
properties for route configurationgo
method for navigation via go_router
- SimpleRouteData base class for route data
inject
method for injecting route data into the route path
- ChildRoute interface for structuring route hierarchy
- SimpleRouteDataFactory base class
fromState
method for extracting route data from aGoRouterState
containsData
method for validatingGoRouterState
has all necessary data componentscontainsKey
helper for checking the existence of a parameter key in aGoRouterState
- Utility functions:
join
withPrefix
setParam
extension