This is a News App built with Flutter following the principles of Clean Architecture. It utilizes the Bloc state management pattern for a clear separation of concerns and easy maintainability. The data is persisted locally using the Floor database, and network requests are handled by Retrofit. Dependency injection is managed with GetIt.
- Clean Architecture: Organized codebase with a clear separation of concerns, making it scalable and maintainable.
- Bloc State Management: Efficient state management using the Bloc pattern, providing a clean and predictable way to manage the app's state.
- Floor Database: Local data persistence with Floor, a SQLite-based database library for Flutter.
- Retrofit: Network requests are handled seamlessly with Retrofit, making it easy to communicate with APIs.
- Dependency Injection with GetIt: Simplified and organized dependency injection using GetIt, enhancing code readability and testability.
- Flutter
- Bloc State Management
- Floor Database
- Retrofit
- GetIt for Dependency Injection
- Clone the repository:
git clone https://github.com/yourusername/news-app.git
- Navigate to the project directory:
cd news-app
- Install dependencies:
flutter pub get
- Run the app:
flutter run
Contributions are welcome! Feel free to open issues and pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.