simple_routes 0.0.1 copy "simple_routes: ^0.0.1" to clipboard
simple_routes: ^0.0.1 copied to clipboard

Simple, class-based route management for go_router.

0.0.1 #

Initial Release

  • SimpleRoute and DataRoute base classes for routes
    • path and generated fullPath properties for route configuration
    • go 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 a GoRouterState
    • containsData method for validating GoRouterState has all necessary data components
    • containsKey helper for checking the existence of a parameter key in a GoRouterState
  • Utility functions:
    • join
    • withPrefix
    • setParam extension
7
likes
0
pub points
43%
popularity

Publisher

verified publisherandyhorn.dev

Simple, class-based route management for go_router.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, go_router, mocktail

More

Packages that depend on simple_routes