a_router 0.0.2
a_router: ^0.0.2 copied to clipboard

a router including a register method, natgation method.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub pub add a_router

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


dependencies:
  a_router: ^0.0.2

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

Import it

Now in your Dart code, you can use:

import 'package:a_router/router.dart';
import 'package:a_router/route/async_material_page_route.dart';
import 'package:a_router/route/route_register.dart';
import 'package:a_router/route/setting.dart';
import 'package:a_router/services/navigation_service.dart';
import 'package:a_router/ui/views/direct_interface/error/no_path_error.dart';
import 'package:a_router/ui/views/direct_interface/error/unknown_error.dart';
0
likes
60
pub points
0%
popularity

Publisher

cullen.ml

a router including a register method, natgation method.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL 3.0 (LICENSE)

Dependencies

flutter, get_it

More

Packages that depend on a_router