Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sangjin-hash/bloc-clean-architecture-example

Proposal of Clean Architecture using Bloc pattern for the Flutter
https://github.com/sangjin-hash/bloc-clean-architecture-example

bloc clean-architecture flutter

Last synced: 1 day ago
JSON representation

Proposal of Clean Architecture using Bloc pattern for the Flutter

Awesome Lists containing this project

README

        

# Flutter - Clean Architecture with Bloc pattern

This project was created to understand Clean Architecture using Bloc pattern for the flutter. For clarity, this app uses a public [{JSON} Placeholder](https://jsonplaceholder.typicode.com/)

## Goals :computer:
- Keep code clean
- Keep code testable
- Keep separation of concerns(Presentation-Domain-Data)

## System Design
image
image

## Built With πŸ› 
- [Flutter BLOC](https://pub.dev/packages/flutter_bloc) - Flutter Widgets that make it easy to implement the BLoC (Business Logic Component) design pattern. Built to be used with the bloc state management package.
- [Dio](https://pub.dev/packages/dio) - A powerful HTTP networking package, supports Interceptors, Aborting and canceling a request, Custom adapters, Transformers, etc.
- [Freezed](https://pub.dev/packages/freezed) - Code generator for data classes, unions, and cloning..
- [Equatable](https://pub.dev/packages/equatable) - A Dart package that helps to implement value based equality without needing to explicitly override == and hashCode.
- [GetIt](https://pub.dev/packages/get_it) - Simple direct Service Locator that allows to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in your App
- [Flutter Secure Storage](https://pub.dev/packages/flutter_secure_storage) - Flutter Secure Storage provides API to store data in secure storage. Keychain is used in iOS, KeyStore based solution is used in Android.

## References :books:

- [Shady Boukhary - A Clean Approach to Flutter Development through the Flutter Clean Architecture Package](https://ieeexplore.ieee.org/document/9071367)
- [DrunknCode - Clean Architecture: Simplified and In-Depth Guide](https://medium.com/@DrunknCode/clean-architecture-simplified-and-in-depth-guide-026333c54454)
- [Pranav Masekar - Unlocking the Secrets of Clean Architecture: Building Scalable Flutter Apps : Part-2](https://sungod.hashnode.dev/flutter-clean-architecture-part-2)
- [Amandeep Singh - A Deep Dive into Clean Architecture and Solid Principles](https://medium.com/@unaware_harry/a-deep-dive-into-clean-architecture-and-solid-principles-dcdcec5db48a)
- [Guilherme Silva - Clean Architecture with State Management comparison](https://github.com/guilherme-v/flutter-clean-architecture-example/tree/main)
- [sm_amolded - 클린 μ•„ν‚€ν…μ²˜ λ¦¬νŽ™ν† λ§ (3) - λˆ„κ°€ 무슨 λͺ¨λΈμ„ μ‚¬μš©ν•  것인가?](https://etst.tistory.com/353)