This guide explains how to build user interfaces for DIGIT using Flutter. It focuses on simple concepts, standard patterns, and reusable components so developers can quickly create consistent, scalable UI modules.
DIGIT uses Flutter because it allows us to build fast, responsive, cross-platform apps with a single codebase. The UI architecture follows a clean, layered pattern to separate UI, business logic, and data access.
Key principles:
Use standard DIGIT UI components wherever possible.
Follow a consistent project structure.
Keep UI code simple — business logic stays in view-models.
Reuse common services such as localisation, user management, and networking.
Steps
1
Set Up Your Environment
Install Flutter and Dart - stable channel recommended
Configure an IDE like Android Studio or VS Code
Install required extensions - Dart, Flutter
Run flutter doctor to confirm the setup
2
Clone the Repository
After setting up your development environment, you can run the works_shg_app on your local device. The works_shg_app here is used for example purposes only.