easy_split_go_router 0.1.0
easy_split_go_router: ^0.1.0 copied to clipboard
EasySplit 的 GoRouter 适配:把 GoRoute 换成 EasySplitGoRoute 即可获得宽屏自动分栏与重复路由自动去重,页面代码零改动,兼容 go_router 13 及以上。
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add easy_split_go_routerWith Flutter:
$ flutter pub add easy_split_go_routerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
easy_split_go_router: ^0.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:easy_split_go_router/easy_split_go_router.dart';