Skip to content

PrasannKavlekar/NewsApp

Repository files navigation

Flutter News App using BLoC Pattern

This Flutter project is a simple News App that fetches data from a News API and displays it in a user-friendly interface. The architecture follows the BLoC (Business Logic Component) pattern to separate the presentation layer from the business logic.

Features

  • Fetches news data from a News API.
  • Displays a list of news articles with images and headlines.
  • Allows users to tap on an article to view more details.

Getting Started

To run this project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/PrasannKavlekar/NewsApp.git
    
  2. Navigate to the project directory:

    cd flutter-news-app
    
  3. Install dependancies:

    flutter pub get
    
  4. Get your API key:

  • Visit News API to obtain your API key.
  • Replace the placeholder in lib/data/news_repository.dart with your actual API key.
  1. Run the app:

    flutter run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published