zenrouter_file_generator 0.4.8 copy "zenrouter_file_generator: ^0.4.8" to clipboard
zenrouter_file_generator: ^0.4.8 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.4.8 #

  • Docs: Update README

0.4.7 #

  • Docs: Update README and add screenshots

0.4.6 #

  • Downgrade analyzer to ^8.0.0 for compatibility.

0.4.5 #

  • Support new RouteQueryParameters and new dot notation flavor in naming convention.

0.4.1 #

  • Docs: Improve documentation and update outdated examples
  • Bump zenrouter_file_annotation to 0.4.0

0.4.0 #

  • BREAKING CHANGE: Upgraded generated code to use zenrouter 0.4.0+ constructor syntax (NavigationPath.createWith/IndexedStackPath.createWith). Requires zenrouter: ^0.4.0.

0.3.1 #

  • NEW FEATURE: Add ability to lazy load routes using the deferredImport option in the @ZenCoordinator annotation
  • PERFORMANCE IMPROVEMENTS: Performance improvements (30-40% faster generation, 25-35% lower memory) and automatic code formatting with dart_style

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 #

New Features #

  • Extract annotations and analyzer elements into a new zenrouter_file_annotation package

Breaking Changes #

  • Remove zenrouter_file_generator from pubspec.yaml and move it to dev_dependencies

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.dart generate URL /login (not /(auth)/login)
    • Routes are still wrapped by the _layout.dart in that folder
    • Useful for grouping auth flows, marketing pages, or applying shared styling

0.1.0 #

  • Initial release of zenrouter_file_generator with file-based routing support for Flutter.
6
likes
140
points
775
downloads

Publisher

verified publisherzennn.dev

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

analyzer, build, dart_style, flutter, glob, source_gen, zenrouter_file_annotation

More

Packages that depend on zenrouter_file_generator