hi_router 0.0.1 hi_router: ^0.0.1 copied to clipboard
The system's navigator page management and the system's routing are not unified, while hi_route unifies the two, and manages the application interface entirely by way of routing.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add hi_router
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
hi_router: ^0.0.1
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:hi_router/easy_router.dart';
import 'package:hi_router/pages/unknown_page.dart';
import 'package:hi_router/route/app_route_information_parser.dart';
import 'package:hi_router/route/app_router_delegate.dart';
import 'package:hi_router/route/route_abstract.dart';