Flutter clean architecture

The Biton answered on April 29, 2024 Popularity 10/10 Helpfulness 1/10

Contents


More Related Answers


Flutter clean architecture

0
Tip The Biton 1 GREPCC

Flutter clean architecture / Idan Biton

The clean architecture seperates its features by lib/features/FEATURE_NAME

Feature structure is seperate into 3 parts:


PART 1 /data

Repository - Handle API methods by success status.


PART 2 /domain

this part must be Independent & seperate into 3 parts

1. entities - Basically a model.use FREEZED Here so post_model.dart ➡️ post_entity.dart

2. repository - API Methosds Summary list of /data/repository

As you can see this code /domain/repository/post_repository.dart

is summary of /data/repostory/post_repository_impl.dart that mentioned in PART 1

Popularity 10/10 Helpfulness 1/10 Language javascript
Source: Grepper
Link to this answer
Share Copy Link
Contributed on Apr 29 2024
The Biton
0 Answers  Avg Quality 2/10


X

Sign in with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.