jetx_generator 0.1.0-alpha.5
jetx_generator: ^0.1.0-alpha.5 copied to clipboard
Code generator for JetX routes. Generates type-safe route classes from @RoutablePage annotations.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add jetx_generatorWith Flutter:
$ flutter pub add jetx_generatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
jetx_generator: ^0.1.0-alpha.5Alternatively, 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:jetx_generator/jetx_generator.dart';