auto_go_route_generator 2.0.0 copy "auto_go_route_generator: ^2.0.0" to clipboard
auto_go_route_generator: ^2.0.0 copied to clipboard

Code generator for auto_go_route. Turns route annotations into type-safe go_router routes, typed URL builders and navigation extensions.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add auto_go_route_generator

With Flutter:

 $ flutter pub add auto_go_route_generator

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

dependencies:
  auto_go_route_generator: ^2.0.0

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:auto_go_route_generator/auto_go_route_generator.dart';
0
likes
160
points
150
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Code generator for auto_go_route. Turns route annotations into type-safe go_router routes, typed URL builders and navigation extensions.

Repository (GitHub)
View/report issues
Contributing

Topics

#codegen #build-runner #routing #go-router #navigation

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

analyzer, build, glob, source_gen

More

Packages that depend on auto_go_route_generator