| j / k | Scroll down / up |
| gg | Scroll to top |
| G | Scroll to bottom |
| / | Open search |
| ? | Show this help |
| Esc | Close search / help |
| n / N | Next / previous section |
| h | Go to landing |
| d | Go to docs |
| : | Command mode — type section name |
Press ? or Esc to close
Feature defines its own route. App collects all routes. Navigate via enum — never hardcoded strings.
// features/profile/config/profile_route.dart final profileRoute = GoRoute( path: '/profile', onEnter: (context, state) => registerProfileDependencies(), onExit: (context, state) => unregisterProfileDependencies(), builder: (context, state) => const ProfileScreen(), );
// app/app_router.dart
final appRouter = GoRouter(
routes: [
profileRoute,
homeRoute,
settingsRoute,
// each feature plugs in here
],
);// Never hardcoded strings — always enum context.go(AppRoutes.profile.path); context.push(AppRoutes.settings.path);