feat: Implement profile completion feature with repository and use case
This commit is contained in:
@@ -111,7 +111,7 @@ If a user request is vague:
|
||||
* **DO NOT** add 3rd party packages without checking `apps/mobile/packages/core` first.
|
||||
* **DO NOT** add `firebase_auth` or `firebase_data_connect` to any Feature package. They belong in `data_connect` only.
|
||||
* **Service Locator**: Use `DataConnectService.instance` for singleton access to backend operations.
|
||||
* **Dependency Injection**: Use Flutter Modular for BLoC and UseCase injection in `Module.routes()`.
|
||||
* **Dependency Injection**: Use Flutter Modular for BLoC (never use `addSingleton` for Blocs, always use `add` method) and UseCase injection in `Module.routes()`.
|
||||
|
||||
## 8. Error Handling
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ graph TD
|
||||
### 2.2 Features (`apps/mobile/packages/features/<APP_NAME>/<FEATURE_NAME>`)
|
||||
- **Role**: Vertical slices of user-facing functionality.
|
||||
- **Internal Structure**:
|
||||
- `domain/`: Feature-specific Use Cases and Repository Interfaces.
|
||||
- `domain/`: Feature-specific Use Cases(always extend the apps/mobile/packages/core/lib/src/domain/usecases/usecase.dart abstract clas) and Repository Interfaces.
|
||||
- `data/`: Repository Implementations.
|
||||
- `presentation/`:
|
||||
- Pages, BLoCs, Widgets.
|
||||
|
||||
Reference in New Issue
Block a user