8000 GitHub - gitInfinity/newsapp · GitHub
[go: up one dir, main page]

Skip to content
gitInfinityPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Flutter News App

A modern Flutter news application that fetches articles using NewsAPI and displays them in a clean, dynamic, and responsive UI.
Built with BLoC state management, REST API integration, and optional AI-powered summarization (Gemini).


Table of contents


Features

  • Responsive and adaptive UI (GridView article layout for larger screens).
  • BLoC architecture (Events → Bloc → States → UI) for separation of concerns.
  • HTTP integration using http package to fetch live news from NewsAPI.
  • Robust error handling (API errors, rate limits, parsing issues).
  • Welcome / initial state that shows a friendly prompt before the first search.
  • Article detail screen with thumbnail, description, and “Summarise by Gemini” button (Gemini integration is optional).
  • Defensive UI: fallbacks for missing images and missing article fields.
  • Simple repository layer (NewsRepo) to separate networking from BLoC logic.

Tech stack

  • Flutter
  • Dart
  • flutter_bloc (BLoC pattern)
  • http (REST requests)
  • intl (date formatting)
  • flutter_gemini (optional — summarization; add only if you have access)
  • cached_network_image (recommended for image caching)
  • url_launcher (open article links)

Installation

  1. Clone the repository:
      - git clone https://github.com/gitInfinity/newsapp.git
      - cd newsapp
    

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0