# go_router

> A declarative, URL-based router for Flutter

Source: https://talira.ai/catalog/go-router-jgawebr1
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / routing / client side](https://talira.ai/categories/libraries/routing/client-side), [languages / dart](https://talira.ai/categories/languages/dart)
- Platforms: android, ios, linux, macos, web, windows[^2]
- Licence: BSD-3-Clause[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [Google](https://talira.ai/orgs/google.md)
- Funding: public company (NASDAQ:GOOGL)[^3]

go_router is the [Flutter](https://talira.ai/catalog/flutter-nhwgvsth.md) team's routing package: it builds on Flutter's Router API so an app defines its screens as URL patterns, navigates by URL and handles deep links. Routes take path and query parameters from templates such as `user/:id`, can nest sub-routes, redirect based on app state (to a sign-in screen when the user isn't signed in, for example), and ShellRoute keeps an inner navigator such as a bottom navigation bar on screen while the pages inside it change. It works with Material and Cupertino apps and alongside the older Navigator API. The Flutter team considers it feature-complete and focuses on bug fixes and stability. It's part of the flutter/packages repository and published on pub.dev by flutter.dev.

## Links

- GitHub: https://github.com/flutter/packages
- Docs: https://pub.dev/documentation/go_router/latest/

## Problems it solves

- navigate between screens in my Flutter app using URLs instead of pushing routes by hand
- handle deep links that open a specific screen in a Flutter app
- send users to the sign-in screen when they aren't logged in before showing a page
- keep a bottom navigation bar on screen while the pages inside it change
- parse path and query parameters like /user/:id from the URL in Flutter
- make the browser URL and back button work in a Flutter web app

## Features

- Routes defined as URL patterns with path and query parameters
- Nested sub-routes
- Redirects based on app state
- ShellRoute for an inner navigator such as a persistent bottom navigation bar
- Works with Material and Cupertino apps
- Type-safe routes, named routes, transition animations and state restoration
- Android, iOS, Linux, macOS, web and Windows

## Trust

Overall: 0.73 out of 1.
Signals: maintenance 1.00, adoption 0.75, momentum 0.51, community 1.00, backing 0.55, extensibility 0.00.

- last commit 4 days ago
- 620 commits in the last 90 days
- latest release pigeon-v29.0.4 2 months ago
- 5.3k GitHub stars
- 1952 contributors
- backed by Google
- funding: public company (NASDAQ:GOOGL)

## Related

- Works with [Flutter](https://talira.ai/catalog/flutter-nhwgvsth.md)

## Alternatives

- [go_router_builder](https://talira.ai/catalog/go-router-builder-47rdy6c1.md): Generates strongly typed route helpers for go_router

## Sources

[^1]: https://github.com/flutter/packages/blob/main/packages/go_router/LICENSE (checked 26 Nov 2026)
[^2]: https://pub.dev/packages/go_router (checked 26 Nov 2026)
[^3]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
