The detail screen of the app will show a bigger poster image and an overview of the movie. All of the required data, except the image, has already been downloaded and parsed from the web service, so we won't need to use the HTTP library for this screen.
The steps required to complete this part are as follows:
- Create the second screen, with the widgets that will need to receive the movie data to set the title, the image, and the overview of the movie.
- Respond to the tap of the user in the ListView.
- Pass the movie data from the first screen to the second screen.
So let's create a new file, called movie_detail.dart, in the lib folder of the app. Here, we'll only need to import the material.dart library to access the material widgets, and our movie.dart file for the Movie class:
import 'package:flutter...