#Flutter Navigator 2.0 is known as a complex routing solution in Flutter. However, it comes with a lot of power. With power comes responsibility too. Many Flutter developers are avoiding Navigator 2.0 because of its reputation but I have good news. We have a great package now called go_router written and maintained by Chris Sells, the product owner of Flutter focusing on developer experience. And guess what?
The package is awesome and super simple to use.
In this video, I have pair programmed with Chris to refactor my navigator 1.0 to 2.0 with go_router step by step. He also walked me through all the features in the Go_Router package which will be quite useful in any type of application on all platforms.
Chapters:
00:00 Intro
00:50 Chris introduction
16:20 Project overview
16:35 Setup go_router
26:00 simple and nested routes
44:09 Hash / Path strategy and running on the web
49:10 Redirect / Auth and non-auth routes
01:06:51 Tips and tricks
01:10:50 Deep vs Dynamic links
01:13:10 Debugging routes
01:15:20 Chris favorite feature
01:19:45 Last words
----------------------------------------------------------------------------------------------------------------
Pub: pub.dev/packages/go_router
----------------------------------------------------------------------------------------------------------------
Chris's Twitter account: / csells
Majid's Twitter account: / mhadaily
----------------------------------------------------------------------------------------------------------------
Let me know what packages or plugins you would like to see in the show, I will do my best to invite the authors for pair programming.
My GitHub Sponsors' profile is live! You can sponsor me to support my open-source work 💖 github.com/sponsors/mhadaily?...
Негізгі бет Ғылым және технология Flutter Navigator 2.0 made easy with go_router! Pair programming with Chris Sells, Flutter PM!
Пікірлер: 66