Skip to content

sangjin-hash/Bloc-Clean-Architecture-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Goals 💻

  • Keep code clean
  • Keep code testable
  • Keep separation of concerns(Presentation-Domain-Data)

System Design

image image

Built With 🛠

  • 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 - A powerful HTTP networking package, supports Interceptors, Aborting and canceling a request, Custom adapters, Transformers, etc.
  • Freezed - Code generator for data classes, unions, and cloning..
  • Equatable - A Dart package that helps to implement value based equality without needing to explicitly override == and hashCode.
  • GetIt - 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 - Flutter Secure Storage provides API to store data in secure storage. Keychain is used in iOS, KeyStore based solution is used in Android.

References 📚

About

Proposal of Clean Architecture using Bloc pattern for the Flutter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages