Link to the Pub Package:
digit_dss is a Flutter package designed to facilitate the seamless integration of dynamic dashboards into your mobile application. This package allows developers to configure and render various types of charts directly from a dashboard configuration, enabling a flexible and customizable approach to data visualization.
Dynamic charts configuration
Support for Metric Charts
Support for Table Charts
DISTRICT_SUPERVISOR
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/digit_dss_imports.dart.
This will automatically add the necessary imports, mapper initialisers, and repository initialisations to the required files.
Run the build runner command to add routes at your main app level:
This adds a package route to the main router.gr.dart
Install the application and you should have digit_dss
integrated into your base app.
By following these steps, you'll successfully integrate and navigate to the digit_dss dashboard module within your application.
dependencies:
digit_dss: ^latest
flutter packages run build_runner build --delete-conflicting-outputs