It’s been built as a new module (pub package)- closed_household and It will be a dependency of registration and delivery package.
To learn more about Registration and Delivery, click here. Link to the pub package:
DISTRIBUTOR
Create a closed household
Update task if closed household gets registered
To use this package, add the following dependency to your pubspec.yaml file:
To integrate this package with the HCM Application, run the main function located in health-campaign-field-worker-app/tools/closed_household_imports.dart.
This will automatically add the necessary imports, mapper initializers, route config, setting initial data, and repository initialization to the required files.
Make sure you are on the path apps/health_campaign_field_worker_app
and run the command:
This adds a package route to the main router.gr.dart
Install the application and you should have Registration and Delivery integrated into your base app.
By following these steps, you can successfully integrate and use the closed household module within your application.
Sequence Diagram
Package published : https://pub.dev/packages/closed_household