---
title: "Comment by Rahma Yasser on \"Navigation 2.0 - Routing On Flutter Web\" | Hashnode"
description: "for the second method, how can I make pathName be written automatically when I click on button for example? as it&#39;s not normal that the user will write the"
url: "https://hashnode.com/posts/navigation-20-routing-on-flutter-web/6040ddb5fb37920a1fc6687b/comment/60db6a947ad49f6471acc50b"
---

[Discussion](https://hashnode.com/posts/navigation-20-routing-on-flutter-web/6040ddb5fb37920a1fc6687b)

Comment [Navigation 2.0 - Routing On Flutter Web](https://hashnode.com/posts/navigation-20-routing-on-flutter-web/6040ddb5fb37920a1fc6687b)

[Rahma Yasser](https://hashnode.com/@rahmayasser)

[Jun 29, 2021](https://hashnode.com/posts/navigation-20-routing-on-flutter-web/6040ddb5fb37920a1fc6687b/comment/60db6a947ad49f6471acc50b)

for the second method, how can I make pathName be written automatically when I click on button for example? as it's not normal that the user will write the url path name every time.
