A fully functioning mobile application that retrieves the trivia number from the API and saves the last searched trivia in the device's local memory
This example project was used to learn how to work in TDD (Test Driven Development) and follow the principles of Clean Architecture. While developing this app, I undertook the following steps:
- Creating folder structure: data, domain, presentation
- Use Cases
- Models & Entities
- Repository
- Network Information
- Local and Remote Data Source
- Bloc Scaffolding
- Dependency Injection
- User Interface
Package | Description |
---|---|
dartz | handling functional programming concepts such as Option and Either |
dio | easy communication with a server through the HTTP protocol |
equatable | simplifies the implementation of object equality |
flutter_bloc | managing state and business logic through BLoC pattern |
get_it | dependency injection |
internet_connection_checker | monitoring the state of the internet connection |
shared_preferences | simple library for storing data in the device's cache |
flutter_launcher_icons | tool for easily adding custom app icon |
flutter_native_splash | customization of the application's splash screen |
mocktail | creating mock objects during unit testing |