route_annotation 0.2.1 route_annotation: ^0.2.1 copied to clipboard
The route_annotation library is annotated with the route_generator library. For more details, see the introduction of the route_generator library and the Dart documentation.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add route_annotation
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
route_annotation: ^0.2.1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:route_annotation/route_annotation.dart';