How to use auto router in Flutter | Flutter Navigation and Routing

preview_player
Показать описание
In this video, you will learn how to route between screens using auto route package in flutter. Auto Route is Flutter navigation package that allows for strongly-typed arguments passing, effortless deep-linking and code generation to simplify routes setup. This tutorial will go through auto route package step by step from scratch. It's totally beginner friendly. Watch the video for more implementation details !

If you enjoyed this video be sure to give it a like and subscribe for more!

📚 Packages :

⏳ TIMESTAMPS :
00:00 Project Intro
00:08 Install Auto Route Package
00:51 Create AppRouter Class
2:22 Run build runner command
2:39 Explore generated file
3.25 How to add routes
5:32 Initialize AppRouter
6:22 Navigate in AutoRoute
6:42 Pop screen in AutoRoute
6:58 Final Demo
7:16 Routing with arguments

#flutter #flutterpackage #fluttertutorialforbeginners
Рекомендации по теме
Комментарии
Автор

This is the best auto route flutter tutorial man. Keep the good work

ydab
Автор

you have clear thinking and good voice,
hope you make MVVM architecture and real app about it.
many thanks. from Vietnam.

tutosolve
Автор

Hey bro,
You have made this video for a long time ago, right?
Cause now, auto_route package can't extends the same name.

bido
Автор

Your video shows version 9 of auto router in the beginning, then you go and install v7 of the package in your project. The code you write is for pre version 9. Given that you uploaded this tutorial after v9 got released, pretty sure you just recorded the intro yourself and everything else is someone else's content. At least that you're using version 7 in your project instead of showing v9 on the screen and then proceeding with v7, the code in here is useless for the most recent version of autorouter.

xLastxTemplarx
Автор

How to achieve persistent navigation for bottom navbar and how to perform pushandreplace and pushandremoveuntil using auto route package

prasadmusini
join shbcf.ru