This is a flutter app that displays the latest news from various sources. The app uses the News API to fetch the news data, and displays the news in a list view with images.
- Browse the latest news from various sources
- View the news details including the full article
- Search for news by keyword
- Save articles to read later
- Share articles with friends and family
- Login & register Not Working
- Clone this repository
- Run flutter pub get to install the dependencies
- Create an account on the News API website and obtain an API key
- Put your api key in constants file
- Run the app using flutter run or your preferred IDE
The workspace contains two folders by default, where:
lib
: the folder to maintain sourcesModels
: contains all modelsModules
: contains all screensShared
: contains all classes and which used globalycomponents
: contains constants and shared components like buttonscubit
: contains all cubit related fileslocal
: contains all shared functionality which used offlinenetwork
: contains all functionality which
used online like appi callscolors
: contains colors an themes