Git Product home page Git Product logo

iamzaryab / flutter-movie-app-with-clean-architecture-and-riverpod-state-management Goto Github PK

View Code? Open in Web Editor NEW
54.0 1.0 13.0 3.5 MB

FilmKu is an open-source Flutter movie application that exemplifies clean architecture principles while leveraging the power of both Riverpod and Bloc for state management. The app utilizes the Movies Database API to provide users with an immersive movie discovery experience. With dependency injection powered by get_it.

License: MIT License

Kotlin 0.06% Swift 0.30% Objective-C 0.02% Dart 93.05% CMake 3.79% C++ 1.87% C 0.30% Ruby 0.61%
bloc clean-architecture flutter flutter-apps flutterbloc freezed getit isar riverpod

flutter-movie-app-with-clean-architecture-and-riverpod-state-management's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

flutter-movie-app-with-clean-architecture-and-riverpod-state-management's Issues

Movie Details screen does not come up - Exception

Sorry about this, another issue I found.
So, the Home Page loads now with me explicitly providing the API key and URL. However, now clicking on a movie crashes with the following exception.
HttpExceptionWithStatus (HttpException: Invalid statusCode: 404, uri = https://image.tmdb.org/t/p/w780)
I am assuming it is not passing the movie id.
HttpExceptionWithStatus (HttpException: Invalid statusCode: 404, uri = https://image.tmdb.org/t/p/w780)

image image

Dio error - Not getting the env variables (ApiKey and Base URL)

It's a great-looking app, and using Riverpod is amazing.

I tried to follow the instructions and added the .env file in the project's root. However, I get the following dio errors.

flutter: *** DioException ***:
flutter: uri: movie/now_playing?page=1&api_key=
flutter: DioException [unknown]: null
Error: Invalid argument(s): No host specified in URI movie/now_playing?page=1&api_key=

I even tried making a copy of the .env file in the lib folder, but that did not work. (I promise to try and debug this, but I thought it's best to let you know, too).

One more thing I noticed: app_env.dart is an empty file.
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.