profile refactor

This commit is contained in:
amirrezaghabeli
2025-08-27 13:30:09 +03:30
parent dd46eb6054
commit 0b2825f836
6 changed files with 43 additions and 40 deletions
+9 -9
View File
@@ -81,34 +81,34 @@ class _DesktopProfilePageState extends State<DesktopProfilePage> {
break;
case 2:
// Already on profile
break;
}
},
),
SizedBox(
// color: Colors.amber.shade100,
width: 740,
// height: 662,
child: Column(
children: [
SizedBox(height: 36.0.h()),
TitleDescription(
title: 'Company Name',
title: AppStrings.companyName,
description: viewModel.companyProfileData!.name!,
),
TitleDescription(
title: 'National ID',
title: AppStrings.nationalId,
description: viewModel.companyProfileData!.id!,
),
TitleDescription(
title: 'Registration No.',
title: AppStrings.registrationNumber,
description:
viewModel.companyProfileData!.registrationNumber!,
),
TitleDescription(title: 'Business Type', description: '-'),
TitleDescription(
title: 'Founded',
title: AppStrings.businessType,
description: '-',
),
TitleDescription(
title: AppStrings.founded,
description:
viewModel.companyProfileData!.foundedYear!.toString(),
),
@@ -168,7 +168,7 @@ class _DesktopProfilePageState extends State<DesktopProfilePage> {
),
alignment: Alignment.center,
child: Text(
'Logout',
AppStrings.logout,
style: TextStyle(
fontSize: 14.0.sp(),
fontWeight: FontWeight.w500,