Survey Form Package
The Survey Form package enables users to fill out questionnaires. It provides a user-friendly interface for submitting responses, and ensures that health campaign-related feedback and data are collected efficiently and accurately.
Link to the pub package:
Role
DISTRIBUTOR
Features
Provides selection box, check-box, and text field to support various data types.
Accurately capture employee-specific boundaries for relevant survey responses.
Allows employees to view their submitted responses.
Getting Started
To use this package, add the following dependency to your pubspec.yaml file:
Integrating with the HCM Application
To integrate this package with the HCM Application, run the main function located in
health-campaign-field-worker-app/tools/survey_form_package_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 complaints integrated into your base app.
By following these steps, you can successfully integrate and use the Survey Form module within your application.
Sequence Diagram
Last updated