a_router 0.0.2 copy "a_router: ^0.0.2" to clipboard
a_router: ^0.0.2 copied to clipboard

discontinuedreplaced by: universal_router

a router including a register method, natgation method.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add a_router

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter 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
20
pub points
0%
popularity

Publisher

verified publishercullen.ml

a router including a register method, natgation method.

Homepage
Repository (GitHub)
View/report issues

License

GPL-3.0 (LICENSE)

Dependencies

flutter, get_it

More

Packages that depend on a_router