A simple News app using News API.
- Read all news accross the globe from a variety of sources
- Save news for offline reading
- Simple and user-friendly interface
Ensure Flutter is installed on your machine. For installation instructions, refer to the official Flutter website.
Follow these steps to run the News Read Application:
- Clone this repository to your local machine:
git clone https://github.com/hredhayxz/flutter_news_reader.git
- Navigate to the project folder:
cd flutter_news_reader
- Install dependencies:
flutter pub get
Connect your device or emulator and run the app using the following command:
flutter run
News Read integrates the following packages to enhance functionality:
http: ^1.1.0
: Perform HTTP requests and interact with APIs.shimmer: ^3.0.0
: Shimmer effect when loading news in progress.cached_network_image: ^3.3.0
: For network image caching and showing.flutter_riverpod: ^2.4.1
: Flutter Riverpod for state management.hive: ^2.2.3 & hive_flutter: ^1.1.0
: As a local database for store news.connectivity_plus: ^4.0.2
: Use this for checking network connectivity.flutter_launcher_icons: ^0.13.1
: Simplify the generation of launcher icons on various platforms.
- The first time I used
Hive
, it was complicated for me. I overcame this challenge by reading the documentation and having discussions with my close mates. - When I used
Riverpod
for the first time, it was also complicated for me. I overcame this challenge by reading the documentation, watching YouTube videos, and having discussions with my close mates.
The News Read directory structure is organized as follows:
A heartfelt thanks to Moniruzzaman & Mujahedul Islam to share their knowledges with me & help me complete the project.
This project is licensed under the MIT License. Refer to the LICENSE file for details.