/flutter_with_bloc

Ex. Using in Flutter with features gallery

Primary LanguageDart

Flutter with BLoc

Show the best practice for implementing:

  • Flutter with Business Logic Component or BLoc.
  • Feature scalability.

Project structure

Feature driven directory structure

The directory based on Flutter's layer.

│
├───...
│
├───lib
│   └───src
│       ├───features
│       │   ├───counter
│       │   │   ├───application
│       │   │   ├───data
│       │   │   ├───domain
│       │   │   └───presentation
│       │   ├───gallery
│       │   │   ├───application
│       │   │   ├───data
│       │   │   ├───domain
│       │   │   └───presentation
│       │   ├───post
│       │   │   ├───application
│       │   │   ├───data
│       │   │   │   └───repository
│       │   │   ├───domain
│       │   │   └───presentation
│       │   └───timer
│       │       ├───application
│       │       ├───data
│       │       ├───domain
│       │       └───presentation
│       └─── ...
└─── ...

Security

Others