annotation_route 0.0.2

auto generate router config

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  annotation_route: ^0.0.2

2. Install it

You can install packages from the command line:

with pub:

$ pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:annotation_route/builder.dart';
import 'package:annotation_route/example/page_a.dart';
import 'package:annotation_route/example/page_b.dart';
import 'package:annotation_route/example/page_c.dart';
import 'package:annotation_route/example/page_d.dart';
import 'package:annotation_route/example/router.route.dart';
import 'package:annotation_route/example/router.route.internal.dart';
import 'package:annotation_route/route.dart';