In this video, Emmanuel Henri goes through the implementation of a second page and navigation to get to this second page.
- [Instructor] You rarely see an application…without navigation routing.…And a mobile application with Flutter is no exception.…So let's quickly build a second screen…and then add a route for the second page.…So the first thing we'll do is add a second page…so if you're not on main.dart…and if your application is not running,…please make sure to go into the debug section,…click on Running here, and then go the main.dart file…and we'll start working on this file.…So, right after line 58, just return…and we'll build a second widget, or the second page.…
So we'll build a class called SecondPage…which extends StatelessWidget…and then we open up our curly braces,…and we add the override widget…and then we'll use the method…from the widget to build the widget, so build with context.…
And these are all the usual syntax to build a widget…so if you ever build a widget, this is the base of it.…And then we return whatever we want…to return out of that widget.…So this is the base of a new widget.…So you first declare the class,…
- Programming with Dart
- Setting up the Flutter SDK
- Setting up app simulators
- Using Flutter for iOS
- Using Flutter for Android
- Using widgets and material components
- Adding interactivity, routing, and navigation
- Reading and writing with Dart IO
- Creating HTTP requests
Skill Level Beginner
Android App Development: Data Persistence Librarieswith Annyce Davis4h 52m Intermediate
1. Introduction and Setup
2. UI Building
3. Use Device and SDK APIs
4. Build and Release
Resources to release to iOS1m 54s
Next steps1m 5s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.