hb_router 0.0.1
hb_router: ^0.0.1 copied to clipboard
路由管理工具,支持页面间传参,页面间跳转动画,获取当前路由栈等。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add hb_routerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
hb_router: ^0.0.1Alternatively, 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:hb_router/hb_router.dart';