diff --git a/lib/core/constants/strings.dart b/lib/core/constants/strings.dart index 21a8fa0..3a2b088 100644 --- a/lib/core/constants/strings.dart +++ b/lib/core/constants/strings.dart @@ -50,6 +50,12 @@ class AppStrings { static const String profile = 'Profile'; static const String settings = 'Settings'; static const String appTheme = 'App Theme'; + static const String companyName = 'Company Name'; + static const String nationalId = 'National ID'; + static const String registrationNumber = 'Registration No.'; + static const String businessType = 'Business Type'; + static const String founded = 'Founded'; + static const String logout = 'Logout'; //your tenders static const String yourTendersTitle = 'Your tenders'; @@ -73,21 +79,10 @@ class AppStrings { 'No experience in e-platform development'; static const String tenderSubmitButton = 'Submit'; static const String tenderRejectButton = 'Reject'; - static const String tenderDateExample = '2025-05-21'; - static const String tenderTitleExample = - 'Operation, support and further development of open e-platform Operation, support and further development of open e-platform'; - static const String tenderIdExample = 'JNDFKMDV-100-JF'; - static const String tenderApprovalDateExample = '2025-05-21'; - static const String tenderSubmissionDateExample = '2025-05-21'; + static const String tenderClientExample = 'Procurement Notice Procurement Notice'; - static const String tenderDeliveryLocationExample = 'Norrbotten County'; - static const String tenderReferenceNumberExample = 'KLF 2025/120'; - static const String tenderDescriptionExample = - 'Luleå Municipality is procuring on behalf of Norrbotten’s e-board (all municipalities in Norrbotten)...'; - static const String tenderMatchPercentageExample = '75%'; - static const String locationDescription = - 'Luleå Municipality is procuring on behalf of Norrbotten’s e-board (all municipalities in Norrbotten).

The procurement includes operation, support, and further development of the existing open e-platform.

No additional information, amendments, or answers to questions will be provided after June 16.o additional information, amendments, or answers to questions will be provided after June 16.o additional information, amendments, or answers to questions will be provided after June 16.website: www.tenders.com Lorem ipsum is amet Luleå Municipality is procuring on behalf of Norrbotten’s e-board (all municipalities in Norrbotten).

The procurement includes operation, support, and further development of the existing open e-platform.

No additional information, amendments, or answers to questions will be provided after June 16. o additional information, amendments, or answers to questions will be provided after June 16. o additional information, amendments, or answers to questions will be provided after June 16.website: www.tenders.com'; + static const String estimatedValue = 'Estimated Value '; static const String duration = 'Duration'; } diff --git a/lib/views/detail/widgets/tender_detail_card.dart b/lib/views/detail/widgets/tender_detail_card.dart index e6fe807..e357d40 100644 --- a/lib/views/detail/widgets/tender_detail_card.dart +++ b/lib/views/detail/widgets/tender_detail_card.dart @@ -33,7 +33,7 @@ class TenderDetailCard extends StatelessWidget { ), ), Text( - AppStrings.tenderMatchPercentageExample, + '75%', style: TextStyle( fontSize: 12.0.sp(), fontWeight: FontWeight.w600, diff --git a/lib/views/home/widgets/tender_card_progress_bar.dart b/lib/views/home/widgets/tender_card_progress_bar.dart index a7460bb..fd4aba5 100644 --- a/lib/views/home/widgets/tender_card_progress_bar.dart +++ b/lib/views/home/widgets/tender_card_progress_bar.dart @@ -23,7 +23,7 @@ class TenderCardProgressBar extends StatelessWidget { ), ), Text( - AppStrings.tenderMatchPercentageExample, + '75%', style: TextStyle( fontSize: 12.0.sp(), fontWeight: FontWeight.w600, diff --git a/lib/views/profile/pages/d_profile_page.dart b/lib/views/profile/pages/d_profile_page.dart index 85192c2..99414dd 100644 --- a/lib/views/profile/pages/d_profile_page.dart +++ b/lib/views/profile/pages/d_profile_page.dart @@ -81,34 +81,34 @@ class _DesktopProfilePageState extends State { 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 { ), alignment: Alignment.center, child: Text( - 'Logout', + AppStrings.logout, style: TextStyle( fontSize: 14.0.sp(), fontWeight: FontWeight.w500, diff --git a/lib/views/profile/pages/m_profile_page.dart b/lib/views/profile/pages/m_profile_page.dart index f0c2479..5cae8c6 100644 --- a/lib/views/profile/pages/m_profile_page.dart +++ b/lib/views/profile/pages/m_profile_page.dart @@ -74,21 +74,24 @@ class _MobileProfilePageState extends State { 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(), ), @@ -145,7 +148,7 @@ class _MobileProfilePageState extends State { ), alignment: Alignment.center, child: Text( - 'Logout', + AppStrings.logout, style: TextStyle( fontSize: 14.0.sp(), fontWeight: FontWeight.w500, diff --git a/lib/views/profile/pages/t_profile_page.dart b/lib/views/profile/pages/t_profile_page.dart index 1759a41..b6c66aa 100644 --- a/lib/views/profile/pages/t_profile_page.dart +++ b/lib/views/profile/pages/t_profile_page.dart @@ -118,22 +118,27 @@ class _TabletProfilePageState extends State { children: [ SizedBox(height: 128.0.h()), TitleDescription( - title: 'Company Name', - description: 'Telecom Solutions GmbH', + title: AppStrings.companyName, + description: viewModel.companyProfileData!.name!, ), TitleDescription( - title: 'National ID', - description: '12345678901', + title: AppStrings.nationalId, + description: viewModel.companyProfileData!.id!, ), TitleDescription( - title: 'Registration No.', - description: 'DE-55667788', + title: AppStrings.registrationNumber, + description: + viewModel.companyProfileData!.registrationNumber!, ), TitleDescription( - title: 'Business Type', - description: 'Telecommunications', + title: AppStrings.businessType, + description: '-', + ), + TitleDescription( + title: AppStrings.founded, + description: + viewModel.companyProfileData!.foundedYear!.toString(), ), - TitleDescription(title: 'Founded', description: '2010'), SizedBox(height: 24.0.h()), // Theme Toggle Align( @@ -190,7 +195,7 @@ class _TabletProfilePageState extends State { ), alignment: Alignment.center, child: Text( - 'Logout', + AppStrings.logout, style: TextStyle( fontSize: 14.0.sp(), fontWeight: FontWeight.w500,