Loading topic
Intermediate · Mid: 17 chapters · 24 min read. States assumed prerequisites
Start reading/books/42. The router then builds the navigation state that matches that location.Navigator.push and Navigator.pop. It also assumes basic knowledge of ChangeNotifier, although authentication state is covered later.Navigator.push and Navigator.pop. It also assumes you can expose app state with ChangeNotifier or a similar class.Navigator.push and Navigator.pop. It also assumes that your app already uses GoRouter with MaterialApp.router.Navigator.push and Navigator.pop. This chapter shows how a go_router location carries data into a screen.GoRouter, GoRoute, and MaterialApp.router. It also assumes that you have used basic Navigator.push and Navigator.pop calls.Navigator.push and Navigator.pop. This chapter uses go_router to express a parent screen and its detail screen as one URL hierarchy.Navigator operations. It also assumes that you have configured GoRouter and can define a GoRoute.Navigator, and ChangeNotifier. It also assumes you have added go_router to your Flutter project.ChangeNotifier, and basic go_router setup. You should also understand that a redirect returns a location string or null.Navigator.push and Navigator.pop, and the basic GoRouter setup from earlier chapters. This chapter focuses on sharing one layout across several routes.Navigator.push and Navigator.pop. It also assumes that you understand basic go_router routes.Navigator navigation. It also assumes that you have configured go_router and are using MaterialApp.router.Navigator.push and Navigator.pop calls. It focuses on what happens when a URL does not match any declared GoRoute.Navigator, and the basic go_router setup. A deep link is a URL that opens a specific screen rather than only opening the app’s home screen. For example, /books/42?tab=reviews identifies book 42 and asks the screen to show its reviews tab.Navigator basics, and familiarity with ChangeNotifier. It also assumes that you have already used go_router with ordinary GoRoute objects.Navigator, GoRouter, and ChangeNotifier. This chapter uses widget tests. A widget test builds part of the app, performs actions, and checks what appears on screen.