GetX - Part 3 (Route navigation)

Описание к видео GetX - Part 3 (Route navigation)

Part 1 & 2 focused on state management. Part 3 will focus exclusively on app navigation. Using the default navigation scheme is a great option, but navigation is even easier when using GetX. In this video, I explain how easy it is to navigation between screens in your app using GetX. I also talk about using GetX to create Snackbars, Dialogs, and Bottom Sheets.

*I mentioned main.js in the last on-screen comment near the end of the video. I meant main.dart

00:45 - Replacing the MaterialApp with GetMaterialApp and defining routes with the GetPages widget
02:42 - Pushing a named or unnamed route
03:39 - Creating a new screen to test navigation buttons
06:37 - Adding the screen as a GetPage widget and navigating to it.
08:36 - Passing query parameters (path?param='value') to your routes and retrieving them
12:32 - Passing named parameters (path/:param to your routes and retrieving them
14:51 - Popping routes/screens from the stack
16:51 - Popping screens from a stack until a certain condition is met
19:46 - Deleting a route from the stack
21:30 - Returning data from a new screen back to the previous screen
25:13 - Creating Snackbars with GetX
27:03 - Creating Dialogs with GetX
30:14 - Creating BottomSheets in GetX
34:01 - Adding various transitions when navigating between screens

⚡Connect on Facebook:   / flutterfactory  

⚡Connect on Twitter:   / flutterfactory  

💻Follow along with the initial code in this series: https://github.com/theflutterfactory/...

Music by www.bensound.com

Комментарии

Информация по комментариям в разработке