|  |  | @ -11,7 +11,7 @@ import 'package:hmg_patient_app_new/extensions/string_extensions.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/extensions/widget_extensions.dart'; |  |  |  | import 'package:hmg_patient_app_new/extensions/widget_extensions.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/generated/locale_keys.g.dart'; |  |  |  | import 'package:hmg_patient_app_new/generated/locale_keys.g.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/features/lab/lab_view_model.dart'; |  |  |  | import 'package:hmg_patient_app_new/features/lab/lab_view_model.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/presentation/lab/collapsing_list_view.dart'; |  |  |  | import 'package:hmg_patient_app_new/widgets/appbar/collapsing_list_view.dart'; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/presentation/radiology/radiology_result_page.dart'; |  |  |  | import 'package:hmg_patient_app_new/presentation/radiology/radiology_result_page.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/theme/colors.dart'; |  |  |  | import 'package:hmg_patient_app_new/theme/colors.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/widgets/buttons/custom_button.dart'; |  |  |  | import 'package:hmg_patient_app_new/widgets/buttons/custom_button.dart'; | 
			
		
	
	
		
		
			
				
					|  |  | @ -61,130 +61,136 @@ class _RadiologyOrdersPageState extends State<RadiologyOrdersPage> { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     ListView.builder( |  |  |  |                     ListView.builder( | 
			
		
	
		
		
			
				
					
					|  |  |  |                       shrinkWrap: true, |  |  |  |                       shrinkWrap: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |                       physics: NeverScrollableScrollPhysics(), |  |  |  |                       physics: NeverScrollableScrollPhysics(), | 
			
		
	
		
		
			
				
					
					|  |  |  |                       itemCount: model.isRadiologyOrdersLoading ? 5 : model.patientRadiologyOrders.length, |  |  |  |                       itemCount: model.isRadiologyOrdersLoading | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                           ? 5 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                           : model.patientRadiologyOrders.isNotEmpty | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                               ? model.patientRadiologyOrders.length | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                               : 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |                       itemBuilder: (context, index) { |  |  |  |                       itemBuilder: (context, index) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                         final isExpanded = expandedIndex == index; |  |  |  |                         final isExpanded = expandedIndex == index; | 
			
		
	
		
		
			
				
					
					|  |  |  |                         return AnimationConfiguration.staggeredList( |  |  |  |                         return model.patientRadiologyOrders.isNotEmpty | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           position: index, |  |  |  |                             ? AnimationConfiguration.staggeredList( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           duration: const Duration(milliseconds: 500), |  |  |  |                                 position: index, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           child: SlideAnimation( |  |  |  |                                 duration: const Duration(milliseconds: 500), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                             verticalOffset: 100.0, |  |  |  |                                 child: SlideAnimation( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                             child: FadeInAnimation( |  |  |  |                                   verticalOffset: 100.0, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                               child: AnimatedContainer( |  |  |  |                                   child: FadeInAnimation( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                 duration: Duration(milliseconds: 300), |  |  |  |                                     child: AnimatedContainer( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                 curve: Curves.easeInOut, |  |  |  |                                       duration: Duration(milliseconds: 300), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                 margin: EdgeInsets.symmetric(vertical: 8.h), |  |  |  |                                       curve: Curves.easeInOut, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                 decoration: RoundedRectangleBorder().toSmoothCornerDecoration(color: AppColors.whiteColor, borderRadius: 20.h, hasShadow: true), |  |  |  |                                       margin: EdgeInsets.symmetric(vertical: 8.h), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                 child: InkWell( |  |  |  |                                       decoration: RoundedRectangleBorder().toSmoothCornerDecoration(color: AppColors.whiteColor, borderRadius: 20.h, hasShadow: true), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                   onTap: () { |  |  |  |                                       child: InkWell( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                     setState(() { |  |  |  |                                         onTap: () { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                       expandedIndex = isExpanded ? null : index; |  |  |  |                                           setState(() { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                     }); |  |  |  |                                             expandedIndex = isExpanded ? null : index; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                   }, |  |  |  |                                           }); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                   child: Column( |  |  |  |                                         }, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                     crossAxisAlignment: CrossAxisAlignment.start, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                     children: [ |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                       Padding( |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                         padding: EdgeInsets.all(16.h), |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                                         child: Column( |  |  |  |                                         child: Column( | 
			
		
	
		
		
			
				
					
					|  |  |  |                                           crossAxisAlignment: CrossAxisAlignment.start, |  |  |  |                                           crossAxisAlignment: CrossAxisAlignment.start, | 
			
		
	
		
		
			
				
					
					|  |  |  |                                           children: [ |  |  |  |                                           children: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |                                             AppCustomChipWidget( |  |  |  |                                             Padding( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                               labelText: LocaleKeys.resultsAvailable.tr(context: context), |  |  |  |                                               padding: EdgeInsets.all(16.h), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                               backgroundColor: AppColors.successColor.withOpacity(0.15), |  |  |  |                                               child: Column( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                               textColor: AppColors.successColor, |  |  |  |                                                 crossAxisAlignment: CrossAxisAlignment.start, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                             ).toShimmer2(isShow: model.isRadiologyOrdersLoading, width: 100), |  |  |  |                                                 children: [ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                             SizedBox(height: 8.h), |  |  |  |                                                   AppCustomChipWidget( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                             Row( |  |  |  |                                                     labelText: LocaleKeys.resultsAvailable.tr(context: context), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                               children: [ |  |  |  |                                                     backgroundColor: AppColors.successColor.withOpacity(0.15), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                 Image.network( |  |  |  |                                                     textColor: AppColors.successColor, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                   model.isRadiologyOrdersLoading |  |  |  |                                                   ).toShimmer2(isShow: model.isRadiologyOrdersLoading, width: 100), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                       ? "https://hmgwebservices.com/Images/MobileImages/DUBAI/unkown_female.png" |  |  |  |                                                   SizedBox(height: 8.h), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                       : model.patientRadiologyOrders[index].doctorImageURL!, |  |  |  |                                                   Row( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                   width: 24.h, |  |  |  |                                                     children: [ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                   height: 24.h, |  |  |  |                                                       Image.network( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                   fit: BoxFit.fill, |  |  |  |                                                         model.isRadiologyOrdersLoading | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                 ).circle(100).toShimmer2(isShow: model.isRadiologyOrdersLoading), |  |  |  |                                                             ? "https://hmgwebservices.com/Images/MobileImages/DUBAI/unkown_female.png" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                 SizedBox(width: 4.h), |  |  |  |                                                             : model.patientRadiologyOrders[index].doctorImageURL!, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                 (model.isRadiologyOrdersLoading ? "Dr John Smith" : model.patientRadiologyOrders[index].doctorName!) |  |  |  |                                                         width: 24.h, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                     .toText16(isBold: true) |  |  |  |                                                         height: 24.h, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                     .toShimmer2(isShow: model.isRadiologyOrdersLoading) |  |  |  |                                                         fit: BoxFit.fill, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                               ], |  |  |  |                                                       ).circle(100).toShimmer2(isShow: model.isRadiologyOrdersLoading), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                             ), |  |  |  |                                                       SizedBox(width: 4.h), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                             SizedBox(height: 8.h), |  |  |  |                                                       (model.isRadiologyOrdersLoading ? "Dr John Smith" : model.patientRadiologyOrders[index].doctorName!) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                             Wrap( |  |  |  |                                                           .toText16(isBold: true) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                               direction: Axis.horizontal, |  |  |  |                                                           .toShimmer2(isShow: model.isRadiologyOrdersLoading) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                               spacing: 3.h, |  |  |  |                                                     ], | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                               runSpacing: 4.h, |  |  |  |                                                   ), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                               children: [ |  |  |  |                                                   SizedBox(height: 8.h), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                 AppCustomChipWidget( |  |  |  |                                                   Wrap( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                   icon: AppAssets.doctor_calendar_icon, |  |  |  |                                                     direction: Axis.horizontal, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                   labelText: model.isRadiologyOrdersLoading ? "01 Jan 2025" : DateUtil.formatDateToDate(model.patientRadiologyOrders[index].orderDate!, false), |  |  |  |                                                     spacing: 3.h, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                 ).toShimmer2(isShow: model.isRadiologyOrdersLoading), |  |  |  |                                                     runSpacing: 4.h, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                 AppCustomChipWidget( |  |  |  |                                                     children: [ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                   labelText: model.isRadiologyOrdersLoading ? "01 Jan 2025" : model.patientRadiologyOrders[index].clinicDescription!, |  |  |  |                                                       AppCustomChipWidget( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                 ).toShimmer2(isShow: model.isRadiologyOrdersLoading), |  |  |  |                                                         icon: AppAssets.doctor_calendar_icon, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                         labelText: model.isRadiologyOrdersLoading ? "01 Jan 2025" : DateUtil.formatDateToDate(model.patientRadiologyOrders[index].orderDate!, false), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                       ).toShimmer2(isShow: model.isRadiologyOrdersLoading), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                       AppCustomChipWidget( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                         labelText: model.isRadiologyOrdersLoading ? "01 Jan 2025" : model.patientRadiologyOrders[index].clinicDescription!, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                       ).toShimmer2(isShow: model.isRadiologyOrdersLoading), | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                 // AppCustomChipWidget(labelText: "").toShimmer2(isShow: model.isRadiologyOrdersLoading, width: 16.h), |  |  |  |                                                       // AppCustomChipWidget(labelText: "").toShimmer2(isShow: model.isRadiologyOrdersLoading, width: 16.h), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                                 // AppCustomChipWidget(labelText: "").toShimmer2(isShow: model.isRadiologyOrdersLoading, width: 16.h), |  |  |  |                                                       // AppCustomChipWidget(labelText: "").toShimmer2(isShow: model.isRadiologyOrdersLoading, width: 16.h), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                               ], |  |  |  |                                                     ], | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                   ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                 ], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                               ), | 
			
		
	
		
		
			
				
					
					|  |  |  |                                             ), |  |  |  |                                             ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                             model.isRadiologyOrdersLoading | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                 ? SizedBox.shrink() | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                 : AnimatedCrossFade( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                     firstChild: SizedBox.shrink(), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                     secondChild: Padding( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                       padding: EdgeInsets.symmetric(horizontal: 16.h, vertical: 8.h), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                       child: Column( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                         crossAxisAlignment: CrossAxisAlignment.start, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                         children: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                           Padding( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                             padding: EdgeInsets.only(bottom: 8.h), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                             child: '● ${model.patientRadiologyOrders[index].description}'.toText14(weight: FontWeight.w500), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                           ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                           Row( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                             mainAxisAlignment: MainAxisAlignment.spaceBetween, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                             children: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                               SizedBox(), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                               CustomButton( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                 icon: AppAssets.view_report_icon, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                 iconColor: AppColors.primaryRedColor, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                 iconSize: 16.h, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                 text: LocaleKeys.viewReport.tr(context: context), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                 onPressed: () { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                   Navigator.of(context).push( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                     CustomPageRoute( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                       page: RadiologyResultPage(patientRadiologyResponseModel: model.patientRadiologyOrders[index]), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                     ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                   ); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                 }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                 backgroundColor: AppColors.secondaryLightRedColor, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                 borderColor: AppColors.secondaryLightRedColor, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                 textColor: AppColors.primaryRedColor, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                 fontSize: 14, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                 fontWeight: FontWeight.bold, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                 borderRadius: 12, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                 padding: EdgeInsets.fromLTRB(10, 0, 10, 0), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                                 height: 40.h, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                               ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                             ], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                           ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                       ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                     ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                     crossFadeState: isExpanded ? CrossFadeState.showSecond : CrossFadeState.showFirst, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                     duration: Duration(milliseconds: 300), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                                   ), | 
			
		
	
		
		
			
				
					
					|  |  |  |                                           ], |  |  |  |                                           ], | 
			
		
	
		
		
			
				
					
					|  |  |  |                                         ), |  |  |  |                                         ), | 
			
		
	
		
		
			
				
					
					|  |  |  |                                       ), |  |  |  |                                       ), | 
			
		
	
		
		
			
				
					
					|  |  |  |                                       model.isRadiologyOrdersLoading |  |  |  |                                     ), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                           ? SizedBox.shrink() |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                           : AnimatedCrossFade( |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                               firstChild: SizedBox.shrink(), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                               secondChild: Padding( |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                 padding: EdgeInsets.symmetric(horizontal: 16.h, vertical: 8.h), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                 child: Column( |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                   crossAxisAlignment: CrossAxisAlignment.start, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                   children: [ |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                     Padding( |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                       padding: EdgeInsets.only(bottom: 8.h), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                       child: '● ${model.patientRadiologyOrders[index].description}'.toText14(weight: FontWeight.w500), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                     ), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                     Row( |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                       mainAxisAlignment: MainAxisAlignment.spaceBetween, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                       children: [ |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                         SizedBox(), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                         CustomButton( |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                           icon: AppAssets.view_report_icon, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                           iconColor: AppColors.primaryRedColor, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                           iconSize: 16.h, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                           text: LocaleKeys.viewReport.tr(context: context), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                           onPressed: () { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                             Navigator.of(context).push( |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                               CustomPageRoute( |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                                 page: RadiologyResultPage(patientRadiologyResponseModel: model.patientRadiologyOrders[index]), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                               ), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                             ); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                           }, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                           backgroundColor: AppColors.secondaryLightRedColor, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                           borderColor: AppColors.secondaryLightRedColor, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                           textColor: AppColors.primaryRedColor, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                           fontSize: 14, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                           fontWeight: FontWeight.bold, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                           borderRadius: 12, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                           padding: EdgeInsets.fromLTRB(10, 0, 10, 0), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                           height: 40.h, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                         ), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                       ], |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                     ), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                   ], |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                                 ), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                               ), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                               crossFadeState: isExpanded ? CrossFadeState.showSecond : CrossFadeState.showFirst, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                               duration: Duration(milliseconds: 300), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                             ), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                     ], |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                                   ), |  |  |  |                                   ), | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 ), |  |  |  |                                 ), | 
			
		
	
		
		
			
				
					
					|  |  |  |                               ), |  |  |  |                               ) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                             ), |  |  |  |                             : Utils.getNoDataWidget(context, noDataText: "You don't have any radiology results yet.".needTranslation); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           ), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                         ); |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                       }, |  |  |  |                       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |                     ), |  |  |  |                     ), | 
			
		
	
		
		
			
				
					
					|  |  |  |                   ], |  |  |  |                   ], | 
			
		
	
	
		
		
			
				
					|  |  | 
 |