Clean architecture in flutter using flutter_bloc as a reactive programming

Flutter Clean Architecture

A simple flutter app based on Reso Coder’s tutorial but implemented using feature-driven architecture.

What is used in this project?

  • Flutter bloc To implement the BLoC (Business Logic Component) design pattern.
  • Freezed Code generation for data classes
  • Get it Service location used as dependency injection
  • Dartz Functional Programming Either<Left,Right>
  • Auto Route Navigation package that uses code generation to simplify route setup
  • Dio Http client for dart. Supports interceptors and global configurations
  • Shared Preferences Persistent storage for simple data
  • Flutter and Dart And obviously flutter and dart ?

Run this project

Clone this repository

git clone https://github.com/Uuttssaavv/flutter_clean_arch

Go to the project directory

cd flutter_clean_arch

Get all the packages

flutter pub get

Run the build runner command

flutter pub run build_runner build

Run the project

flutter run or simply press F5 key if you are using VSCode

Do visit my portfolio site or connect with me on linkedin

GitHub

View Github