parse_route
2.1.0, released 2 years ago by getx.site
Route parsing, matching, and navigation solution for Dart applications
WASM-ready
What it does
ParseRoute is a routing and navigation library designed for Dart applications. It provides dynamic route matching, query parameter parsing, nested route support, and navigation history management.
AI-written summary of version 2.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need route parsing and matching for server-side Dart applications
- You are building custom navigation management systems such as Navigator 2 integrations
Skip it when
- You want a ready-to-use declarative router specifically built for Flutter widgets like go_router
Strengths
- Supports dynamic route segments and wildcards
- Built-in query parameter parsing and history management
- Includes route change listeners
Weaknesses
- Limited built-in Flutter widget integration compared to specialized Flutter routers
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
final parser = ParseRoute();
parser.registerRoute('/user/:id');
final match = parser.matchRoute('/user/123?foo=bar');
print(match?.parameters); // {id: '123'}Alternatives
Packages that do the same job and could replace parse_route.
- go_router
If you need an official, declarative routing package built specifically for Flutter with robust deep linking and URL handling.
98Compare - shelf_router
If you are building server-side Dart applications and need a dedicated HTTP request router.
92Compare