A clean and modern news app built using Clean Architecture and Riverpod for state management. This app fetches news articles from an API, supports pagination, includes animations and caching for a seamless user experience.
To get started with the project, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/feature_mind_news.git cd feature_mind_news - Install dependencies:
flutter pub get
- Set up environment variables:
- Create a .env file called keys in the root directory.
- Add your API key for The News API
apiKey=your_api_key_here
- Run the app:
flutter run
- This app uses The News API to fetch news articles. The API provides comprehensive news data, including headlines, descriptions, and images.
- Google Fonts: Easily apply custom fonts to the app.
- Cached Network Image: Efficiently load and cache images from the web.
- Dotenv: Securely manage environment variables
- Http: Make HTTP requests to fetch news data.
- RiverPod: State management for a clean and scalable app architecture.
- Freezed: Simplify data class creation with code generation.
- Flutter SVG: Render SVG images in the app.
- Get It: Dependency injection for better code organization.
- Hive: Lightweight and fast local database for caching
- Smart SnackBar: Display easily customizable snackabars.
- Launcher Icons: Generate app launcher icons easily
- Pagination
- Animations Between screens
- Caching