Flash News is a Flutter mobile application that allows users to stay updated with the latest news from around the world. It utilizes the News API to fetch real-time news data, offering features such as news search, news categories, and filtering news by specific country and media house.
Features
Easily search for news articles using keywords relevant to your interests. The search functionality provides quick access to specific news topics.
Explore news articles categorized into various topics such as Business, Technology, Health, Entertainment, and more. Stay informed on your preferred subjects effortlessly.
Filter news articles based on specific countries. Customize your news feed to focus on events and updates from your chosen geographic locations.
Discover news from your favorite media houses. The app allows users to select specific sources, ensuring a tailored news experience based on their preferred news outlets.
Getting Started To run the Flash News Flutter app locally, follow these steps:
Make sure you have Flutter and Dart installed on your development environment.
Obtain a News API key from News API and replace 'YOUR_API_KEY' in the code with your actual API key.
Clone the repository:
bash
Copy code
git clone https://github.com/MohittGandhi/flash-news.git
Navigate to the project directory:
cd flash-news
flutter pub get
Run the app:
flutter run
In order to use the News API, you need to obtain an API key. Replace 'YOUR_API_KEY' with your actual API key in the relevant parts of the code.
dart // Replace 'YOUR_API_KEY' with your actual News API key
final String apiKey = 'YOUR_API_KEY';
final String apiUrl = 'https://newsapi.org/v2';
Contributions are welcome! Feel free to open issues, create pull requests, or suggest new features to improve the Flash News Flutter app.
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments Special thanks to News API for providing the news data.
Happy reading with Flash News! 📰🚀