zenrouter_file_generator 0.3.0
zenrouter_file_generator: ^0.3.0 copied to clipboard
A code generator for file-based routing in Flutter using zenrouter. Generate type-safe routes from your file/directory structure, similar to Next.js or Nuxt.js.
0.3.0 #
- Bump version to 0.3.0
- Add support for catch-all parameters ([...slugs], [...ids], etc) in routes, including
List<String>type handling and updated route specificity sorting.
0.2.3 #
- Format files
0.2.2 #
Bug Fixes #
- Update the debug label correctly for the generated Path in the Coordinator
- Update README.md
0.2.1 #
0.2.0 #
New Features #
- Route Groups
(name): Wrap routes in a layout without adding the folder name to the URL path- Folders named with parentheses like
(auth)create route groups - Routes inside
(auth)/login.dartgenerate URL/login(not/(auth)/login) - Routes are still wrapped by the
_layout.dartin that folder - Useful for grouping auth flows, marketing pages, or applying shared styling
- Folders named with parentheses like
0.1.0 #
- Initial release of zenrouter_file_generator with file-based routing support for Flutter.