|  |  | @ -1,6 +1,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:easy_localization/easy_localization.dart'; |  |  |  | import 'package:easy_localization/easy_localization.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:flutter/material.dart'; |  |  |  | import 'package:flutter/material.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/core/app_assets.dart'; |  |  |  | import 'package:hmg_patient_app_new/core/app_assets.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import 'package:hmg_patient_app_new/core/app_state.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import 'package:hmg_patient_app_new/core/dependencies.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/core/utils/size_utils.dart'; |  |  |  | import 'package:hmg_patient_app_new/core/utils/size_utils.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/core/utils/utils.dart'; |  |  |  | import 'package:hmg_patient_app_new/core/utils/utils.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/extensions/string_extensions.dart'; |  |  |  | import 'package:hmg_patient_app_new/extensions/string_extensions.dart'; | 
			
		
	
	
		
		
			
				
					|  |  | @ -15,15 +17,11 @@ class RegionListItem extends StatelessWidget { | 
			
		
	
		
		
			
				
					
					|  |  |  |   final String hmgCount; |  |  |  |   final String hmgCount; | 
			
		
	
		
		
			
				
					
					|  |  |  |   final String subTitle; |  |  |  |   final String subTitle; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   const RegionListItem( |  |  |  |   const RegionListItem({super.key, required this.title, required this.subTitle, required this.hmcCount, required this.hmgCount}); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       {super.key, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       required this.title, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       required this.subTitle, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       required this.hmcCount, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       required this.hmgCount}); |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   @override |  |  |  |   @override | 
			
		
	
		
		
			
				
					
					|  |  |  |   Widget build(BuildContext context) { |  |  |  |   Widget build(BuildContext context) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     AppState appState = getIt.get<AppState>(); | 
			
		
	
		
		
			
				
					
					|  |  |  |     return Container( |  |  |  |     return Container( | 
			
		
	
		
		
			
				
					
					|  |  |  |       decoration: RoundedRectangleBorder().toSmoothCornerDecoration( |  |  |  |       decoration: RoundedRectangleBorder().toSmoothCornerDecoration( | 
			
		
	
		
		
			
				
					
					|  |  |  |         color: AppColors.whiteColor, |  |  |  |         color: AppColors.whiteColor, | 
			
		
	
	
		
		
			
				
					|  |  | @ -40,18 +38,19 @@ class RegionListItem extends StatelessWidget { | 
			
		
	
		
		
			
				
					
					|  |  |  |               Row( |  |  |  |               Row( | 
			
		
	
		
		
			
				
					
					|  |  |  |                 spacing: 8.h, |  |  |  |                 spacing: 8.h, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 children: [ |  |  |  |                 children: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |                   placesCountItem( |  |  |  |                   placesCountItem(AppAssets.hmg, hmgCount, " ${LocaleKeys.hospital.tr()}"), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       AppAssets.hmg, hmgCount, " ${LocaleKeys.hospital.tr()}"), |  |  |  |                   placesCountItem(AppAssets.hmc, hmcCount, " ${LocaleKeys.medicalCenters.tr()}"), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   placesCountItem(AppAssets.hmc, hmcCount, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                       " ${LocaleKeys.medicalCenters.tr()}"), |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 ], |  |  |  |                 ], | 
			
		
	
		
		
			
				
					
					|  |  |  |               ), |  |  |  |               ), | 
			
		
	
		
		
			
				
					
					|  |  |  |               Utils.buildSvgWithAssets( |  |  |  |               Transform.flip( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 icon: AppAssets.forward_arrow_icon, |  |  |  |                 flipX: appState.isArabic() ? true : false, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 iconColor: AppColors.blackColor, |  |  |  |                 child: Utils.buildSvgWithAssets( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 width: 18, |  |  |  |                   icon: AppAssets.forward_arrow_icon, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 height: 13, |  |  |  |                   iconColor: AppColors.blackColor, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 fit: BoxFit.contain, |  |  |  |                   width: 18, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   height: 13, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   fit: BoxFit.contain, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 ), | 
			
		
	
		
		
			
				
					
					|  |  |  |               ), |  |  |  |               ), | 
			
		
	
		
		
			
				
					
					|  |  |  |             ], |  |  |  |             ], | 
			
		
	
		
		
			
				
					
					|  |  |  |           ) |  |  |  |           ) | 
			
		
	
	
		
		
			
				
					|  |  | @ -66,24 +65,14 @@ class RegionListItem extends StatelessWidget { | 
			
		
	
		
		
			
				
					
					|  |  |  |       icon: svgPath, |  |  |  |       icon: svgPath, | 
			
		
	
		
		
			
				
					
					|  |  |  |       iconHasColor: false, |  |  |  |       iconHasColor: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       richText: RichText( |  |  |  |       richText: RichText( | 
			
		
	
		
		
			
				
					
					|  |  |  |                   text: TextSpan( |  |  |  |           text: TextSpan( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       text: count, |  |  |  |               text: count, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       style: TextStyle( |  |  |  |               style: TextStyle(fontSize: 12.h, fontWeight: FontWeight.w700, color: AppColors.blackColor), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           fontSize: 12.h, |  |  |  |               children: [TextSpan(text: title, style: TextStyle(fontSize: 12.h, fontWeight: FontWeight.w500, color: AppColors.blackColor))])), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           fontWeight: FontWeight.w700, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                           color: AppColors.blackColor), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                       children: [ |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     TextSpan( |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                         text: title, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                         style: TextStyle( |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             fontSize: 12.h, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             fontWeight: FontWeight.w500, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             color: AppColors.blackColor)) |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   ])), |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     ); |  |  |  |     ); | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  Widget get header => Column( |  |  |  |   Widget get header => Column( | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         mainAxisAlignment: MainAxisAlignment.start, |  |  |  |         mainAxisAlignment: MainAxisAlignment.start, | 
			
		
	
		
		
			
				
					
					|  |  |  |         crossAxisAlignment: CrossAxisAlignment.start, |  |  |  |         crossAxisAlignment: CrossAxisAlignment.start, | 
			
		
	
		
		
			
				
					
					|  |  |  |         children: [ |  |  |  |         children: [ | 
			
		
	
	
		
		
			
				
					|  |  | 
 |