Migration
Migrating from go_router
Equivalent concepts and calls for go_router users.
| go_router | this package |
|---|---|
GoRoute |
AdaptiveRoute |
StatefulShellRoute.indexedStack |
AdaptiveShellRoute
+
AdaptiveBranch
|
context.go(loc) |
router.pushNamedAndRemoveUntil(loc, (_) => false) |
context.push(loc) |
router.pushNamed(loc) |
extra | arguments |
GoRouterState |
AdaptiveRouteState |
pageBuilder |
builder
+ optional
transitionsBuilder
|
context.go
/
context.pop
extensions
|
AdaptiveRouter.of(context) only |