Code Monkey home page Code Monkey logo

daily_news_clean_architecture's Introduction

Flutter NewsApi app (Bloc📦& Riverpod🎯)

NewsApp is a sleek and intuitive mobile application designed to keep you informed with the latest news updates from around the globe. With a clean interface and powerful features, staying up-to-date with current events has never been easier. Leveraging the robust capabilities of NewsAPI.org along with cutting-edge technologies like Retrofit, BLoC, GetIt, and Floor, NewsApp delivers a seamless user experience with comprehensive news coverage.

Key Features 💡

  • Bloc & Riverpod: Added Riverpod clean architecture 🎯 on riverpod branch 🌿.
  • Daily News Updates: Get access to a wide range of news articles covering diverse topics including politics, technology, business, entertainment, sports, and more.
  • Offline Access: Enjoy uninterrupted access to news content even when you're offline, thanks to the offline caching feature powered by Floor.
  • Smooth Navigation: Navigate through news categories effortlessly with a user-friendly interface designed for intuitive interaction.
  • Seamless Integration: Benefit from seamless integration of Retrofit for efficient API communication and BLoC and Riverpod for state management, ensuring smooth performance and responsiveness.
  • Dependency Injection: Utilize GetIt for efficient dependency injection, enhancing the scalability and maintainability of the app's architecture.

With DailyNewsApp, you can explore the Flutter Clean Architecture and experience the SOLID coding!

📦 Getting Started [Bloc]

Clone the Repository:

git clone https://github.com/arrahmanbd/daily_news_clean_architecture.git

🎯 Getting started [Riverpod]

Clone the Riverpod branch🌿:

git clone -b riverpod https://github.com/arrahmanbd/daily_news_clean_architecture.git

Packages

Packages I used in this project

  #state management
  flutter_bloc: ^8.1.2

  #comparing dart objects
  equatable: ^2.0.5

  #service locator
  get_it: ^7.6.0
  
  #dateFormat
  intl: ^0.18.1

  #Database
  floor: any

  #make request to api
  retrofit: ^3.0.1

  #Hooks
  flutter_hooks: ^0.18.3

  #chached image 
  cached_network_image: ^3.2.0

  #iconpack
  ionicons: ^0.2.2

Using on dev dependency:

  retrofit_generator: 3.0.1+1
  floor_generator: 1.2.0
  build_runner: 2.1.2

How to Generate Code

To regenarate the models simply run those commands below.

  flutter pub run build_runner build -d  

Run Project

To test this project Run this command:

  flutter run 

Screenshots

App Screenshot

App Screenshot

🚀 Follow

portfolio linkedin linkedin

Badges

MIT License GPLv3 License AGPL License

daily_news_clean_architecture's People

Contributors

arrahmanbd avatar

Stargazers

Sagar Chapagain avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.