GoRouter.dev

Historical source · 2021–2022

Original guide · Getting Started

Preserved original documentation, with its original version context.

Edition published 21 Oct 2026Original APIs
On this page
Historical text from the original project repository (2021–2022). For the current APIs, use the 2026 field guide. Original wording and credits are preserved.

Getting Started

To use go_router package, follow these instructions.

If you'd like to see a video overview of go_router package, you can watch the following:

Watch the original video

In this video, I did some pair programming with Majid Hajian to port an existing Flutter app built using the original Navigation API to use go_router for both mobile and web.

Note that this video was recorded before the great simplification of go_router v2.5, so I recommend reading the docs for migration to v2.5 after watching the video.

Sources & version context

GoRouter.dev documentation edition. The preserved text describes the original package APIs. Follow the current guide before using it in a new project.

Find your next route