simple_routes 0.0.3
simple_routes: ^0.0.3 copied to clipboard
Simple, class-based route management for go_router.
0.0.3 #
- Add support for injecting query parameters into route paths
- Add helper method for extracting query param map from GoRouterState
- Fix bug in route data factory
- Add and improve tests
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
pathand generatedfullPathproperties for route configurationgomethod for navigation via go_router
- SimpleRouteData base class for route data
injectmethod for injecting route data into the route path
- ChildRoute interface for structuring route hierarchy
- SimpleRouteDataFactory base class
fromStatemethod for extracting route data from aGoRouterStatecontainsDatamethod for validatingGoRouterStatehas all necessary data componentscontainsKeyhelper for checking the existence of a parameter key in aGoRouterState
- Utility functions:
joinwithPrefixsetParamextension