Refactor profile data handling and update UI components

- Changed references from companyProfileData to profileData across multiple profile page views for consistency.
- Updated UI elements to display user-specific information such as username, email, role, department, and position.
- Modified the profile screen to fetch user profile data instead of company profile data.
- Added new string constants for user-related fields in ProfileStrings.
This commit is contained in:
amirrezaghabeli
2025-11-20 17:33:30 +03:30
parent 64a1c30e6c
commit d01e028dc1
6 changed files with 76 additions and 52 deletions
@@ -13,4 +13,9 @@ class ProfileStrings {
static const String logout = 'Log out';
static const String contracts = 'Contracts';
static const String notifications = 'Notifications';
static const String username = 'User Name';
static const String email = 'email';
static const String role = 'role';
static const String department = 'department';
static const String position = 'position';
}