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

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add zenrouter_file_generator

With Flutter:

 $ flutter pub add zenrouter_file_generator

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  zenrouter_file_generator: ^0.2.3

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:zenrouter_file_generator/zenrouter_file_generator.dart';
6
likes
0
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

License

unknown (license)

Dependencies

analyzer, build, flutter, glob, source_gen, zenrouter_file_annotation

More

Packages that depend on zenrouter_file_generator