You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
miguel fce40f7b18 docs(movie-list):Movies to movies 2 years ago
..
audit fixing structure of the audit 2 years ago
resources chore(mobile-dev): move resources closer to each project 2 years ago
README.md docs(movie-list):Movies to movies 2 years ago
movies.json fix: posters of movie_list 2 years ago

README.md

Movie List

Introduction

When developing a fully functional app, you will most likely use some external files to display on your app. One of the most popular file types is JSON.

In this exercise, you will develop a fully functional app that uses JSON files to display information about movies. You will be given a movies file with information about different movies.Your app needs to have the following features:

  • Display the top rated movies with descending rating on the home page of the app.
  • By tapping on a movie, a new route with more detailed information regarding the movie must be displayed.
  • You need to include a search bar to search for movies by name. The search function must return movies whose name includes the entered string. For example, if "vatar" is searched, "Avatar" must be included in the response. The search function must work like SQL's ilike comparison.

ListView

Create a ListView which will show the image, title, and genre of movies from the given movies file. To create the ListView, you need to create a Movie class with the following properties:

class Movie {
  final String genre;
  final String imdbRating;
  final String title;
  final String poster;

  Movie(this.genre, this.imdbRating, this.title, this.poster);
}

You also need to add a fromJson method to make a JSON serialization.

Once you have the Movie class, use FutureBuilder to wait for data from the JSON file and then show it once it is loaded.

Here's an example of what your ListView should look like:

Movie page

Create a page with detailed information about the movie.

The page should have an image of the movie and at least five parameters from the movie's information, i.e. the year it was filmed, main actors, and anything else you might consider useful. If the information doesn't fit on one page, use a scroll bar to show all the information.

The appbar in this page should have the name of the movie and a back button.

Note: widgets should not be overflowed!

Bonus

Notions