A Flutter Media Mobile App for a Test Task
- Validates a login input from the user
- Fetches pictures and user info from the Web using Rest APIs (dio)
- clean architecture, with code generation, jsonSerializable models
- bloc state management, with equatable.
- a beautiful custom UI, based on a Figma Design
- Flutter ^3.5.0
- Dart
- Bloc, Equatable (State management)
- Dio, JsonSerializable, Retrofit (Rest API)
- Auto_Route (Routing)
This project follows a Clean Architecture structure with the following layers:
data: API services and local storage (static variables).domain: Business logic and entities.presentation: UI and state management (Bloc).
To use the Pictures API, you should:
-
Get api key from pexels here
-
In the root of the project, create a
.envfile -
Paste your key like this:
API_KEY='Your Key Here' -
Then run
pub getto get all dependencies for the project. -
And run the project.