When you have more than one page in your app, you need to be able to easily organize and navigate to them. This video gives you a solid introduction to routes and navigation in Dart.
to have multi-screen or multi-page apps, … and not something that's limited to just a single page. … And in order to do that, … we need to know about routes and navigation. … So in Flutter, there's a little bit of terminology here. … When we talk about routes, … we've got a simple Flutter app here … that I want you to clone. … So go ahead and copy the URL … and go into Android Studio and create a new project … from our version control. … So we're going to select get … and then we're going to paste this in here … and then save it anywhere you wish, … so hit clone … and we should be able to open up that demo project … that I created. … Run, as usual, your get dependencies … and go into the navigation Flutter demo library … to see the full files that we've already created for you. … Now the main.dart file is not very exciting. … All it does is it returns a material app … that has a home that starts at screen one. … So let's open up screen one … and you can see all it has is an app bar that's red, …
This course was created by London App Brewery. We are pleased to host this content in our library.
- Using Flutter themes
- Refactoring widgets
- Customizing widgets using themes
- Routes and navigating
- Dart maps