closed_household

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

closed household

ClosedHousehold helps health workers to mark a house hold closed after visiting and record the details like latitude and name of household head member.
Features #

Create a closed household
Update user actions like Resolved, Sprayed etc.

Getting started #
To use this package, add the following dependency to your pubspec.yaml file:
dependencies:
closed_household: ^any
copied to clipboard
Usage #
To Navigate to any screens of the package:
First add closed_household_router to your main app router
Navigate to the required screen using the below code and pass the required data:
context.router.push(ClosedHouseholdDetailsRoute(),);
copied to clipboard
To Consume any bloc of the package in main app:
BlocProvider(create: (context) {return ClosedHouseholdBloc();},),
copied to clipboard
Closed Household package requires below data to be passed from main app:
String? _tenantId;
String? _loggedInUserUuid;
String? _projectId;
BoundaryModel? _boundaryModel;
PersistenceConfiguration? _persistenceConfiguration = PersistenceConfiguration
.offlineFirst;
copied to clipboard
To set the required data use:
ClosedHouseholdSingleton().setInitialData();

copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.