---
title: "Discussion on \"Adding Modal Routes to your GoRouter\" | Hashnode"
description: "Discussion on \"Adding Modal Routes to your GoRouter\". This article was initially just about declaring dialogs as part of your app routes using go_router in Flutter. It expanded to explain certain concepts that I thought were interesting sharing like Routes and Pages, If you're in a rush (we all have dea..."
url: "https://hashnode.com/posts/adding-modal-routes-to-your-gorouter/6441dc7864f2c38aaca29266"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Adding Modal Routes to your GoRouter](https://croxx5f.hashnode.dev/adding-modal-routes-to-your-gorouter?utm_source=hashnode&utm_medium=feed)

This article was initially just about declaring dialogs as part of your app routes using go\_router in Flutter. It expanded to explain certain concepts that I thought were interesting sharing like Routes and Pages, If you're in a rush (we all have dea...

Apr 21, 2023 · 6 min read · croxx5f.hashnode.dev  
Updated May 4, 2023  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#gorouter](https://hashnode.com/tag/gorouter)

## Written by

[Fabián Quintanar](https://hashnode.com/@croxx5f)

@croxx5f · US

  
[View profile](https://hashnode.com/@croxx5f)

Flutter Mobile Engineer

## Responses 3

Markdown supported · ⌘↵ to post

[Tony Williams](https://hashnode.com/@tony1987)

[Feb 4, 2024](https://hashnode.com/posts/adding-modal-routes-to-your-gorouter/6441dc7864f2c38aaca29266/comment/65c01da4a37524c53c8a0e49)

nice

[Jayasubin J](https://hashnode.com/@flutter98)

[Jan 29, 2024](https://hashnode.com/posts/adding-modal-routes-to-your-gorouter/6441dc7864f2c38aaca29266/comment/65b79a8ea91791dbfbf60df3)

Thanks for this blog; It has been very useful. Would flutter or go\_router include such a functionality out of the box so that we don't have to extend the Page class?

[Fabián Quintanar](https://hashnode.com/@croxx5f)

[Jan 30, 2024](https://hashnode.com/posts/adding-modal-routes-to-your-gorouter/6441dc7864f2c38aaca29266/comment/65b79a8ea91791dbfbf60df3#reply-65b93fec0f7d27a5c9290d85)

You can go and upvote [this issue](https://github.com/flutter/flutter/issues/125268) on github, I created it around the time I wrote the blog post. If the flutter team decides this is something they want we could contribute to go\_router.

[Mor Haviv](https://hashnode.com/@morha13)

[Jun 17, 2023](https://hashnode.com/posts/adding-modal-routes-to-your-gorouter/6441dc7864f2c38aaca29266/comment/648de134b3c039fc791a9820)

What is AboutDialog? I'm struggling getting the same end result as in this tutorial. Can you please upload to github the real full code? The repo doesn't really have all of the code... Thank you! :)
