GoRouter.dev
GOROUTER / A ROUTE ATLASFLUTTER · WEB · MOBILE

Every URL.
A place to go.

Give every screen an address.
See how a link becomes a journey.

Build your first route

2026 field guide / go_router 18.1.1
Original English + 日本語 preserved.

01 / PICK A DESTINATION
Destination Another branch AuthenticationInspect this journey ↓

02 / Under the route

A link, unpacked.

Change the address or a station above. Watch the path, parameters and destination change together.

THE ROUTE EXPLORER● INTERACTIVE

/ HomeScreen

/books BookListScreen

:bookId BookScreen

/settings SettingsScreen

/sign-in SignInScreen

02 / ResultMatched03 / DestinationBookScreenPath parameters{"bookId":"42"}Query parameters{"tab":"notes"}

An illustrative JavaScript URL matcher. No Dart is executed. Your entries stay in this browser.

DESTINATION PREVIEWMatched
YOUR APP

THE LIBRARY

Book 42

A screen with a shareable address.

notesdetails
/books/42

A visual teaching model, not a running Flutter app. Understand the parameters ↗

03 / Choose a line

Find your way
through navigation.

One focused question at a time. Routes connect the concepts, examples and their original editions.

See the whole route directory

04 / From the first stop

Small route.
Real direction.

The URL is a useful contract: a destination should still make sense after a reload, a deep link or a fresh start.

Read the route tree ↗
dart / example
final router = GoRouter(
  routes: [
    GoRoute(path: '/', builder: (_, __) => const HomeScreen()),
    GoRoute(
      path: '/books/:bookId',
      builder: (_, state) => BookScreen(
        id: state.pathParameters['bookId']!,
      ),
    ),
  ],
);

MaterialApp.router(routerConfig: router);
ORIGINAL EDITION2021
↘ 2022
EN / 日本語
GUIDES · CODE · RECORDINGS

05 / Keep the original map

Old routes.
Still worth exploring.

The original guides, example source and recordings live in their own edition. Read the early ideas, then take the current route forward.

227 source files recovered · 58 documentation and illustration files

Find your next route