A complete beautiful news app in flutter with search functionality
Samachar – News App in Flutter
Introduction
A complete beautiful news app in flutter. Multiple themes, search functionality, 3D navigation and much more. This News App is a simple mobile application developed using flutter. It allows users to stay up-to-date with the latest news from various categories such as Technology, Sports, Entertainment, and more. The app fetches news data from a reliable news API and presents it in a user-friendly interface, making it easy for users to browse and read articles of interest.
Features
- Browse news articles from different categories.
- View detailed information for each news article, including title, description, and source.
- Share articles with friends through various communication channels.
- User-friendly and intuitive interface for a seamless news browsing experience.
Other features
✔️ Sound NullSafety
Architechture
✔️ Clean Architechture
State Management
✔️ Bloc pattern
Screenshots
Setup Instructions
To set up the News App on your local machine, follow these steps:
-
Clone the repository to your local machine.
git clone https://github.com/sabinmhx/samachar.git
-
Open the project in Android Studio.
-
Build the project to resolve dependencies.
-
Obtain an API key from a news API provider. You can use popular news APIs like NewsAPI, New York Times API, or any other of your choice.
-
Open the
lib/cubits/both-folders/data_provider.dart
file and replaceYOUR_API_KEY
with your actual API key in.static final apiKey = dotenv.env['apiKey'];
-
Build and run the app on your emulator or physical device.
Credits 📖
News API is used to get all the news.This News App is inspired and built upon the foundation of various open-source projects and APIs, which we acknowledge and thank for their valuable contributions.
License
The News App is open-source software licensed under the MIT License. Feel free to use, modify, and distribute the app according to the terms of the license.