|  |  |  | @ -86,30 +86,25 @@ class _AppointmentDetailsPageState extends State<AppointmentDetailsPage> { | 
		
	
		
			
				|  |  |  |  |                       onAskDoctorTap: () {}, | 
		
	
		
			
				|  |  |  |  |                       onCancelTap: () async { | 
		
	
		
			
				|  |  |  |  |                         myAppointmentsViewModel.setIsAppointmentDataToBeLoaded(true); | 
		
	
		
			
				|  |  |  |  |                         showCommonBottomSheet(context, | 
		
	
		
			
				|  |  |  |  |                             child: Utils.getLoadingWidget(), | 
		
	
		
			
				|  |  |  |  |                             callBackFunc: (str) {}, | 
		
	
		
			
				|  |  |  |  |                             title: "", | 
		
	
		
			
				|  |  |  |  |                             height: ResponsiveExtension.screenHeight * 0.3, | 
		
	
		
			
				|  |  |  |  |                             isCloseButtonVisible: false, | 
		
	
		
			
				|  |  |  |  |                             isDismissible: false, | 
		
	
		
			
				|  |  |  |  |                             isFullScreen: false); | 
		
	
		
			
				|  |  |  |  |                         LoaderBottomSheet.showLoader(loadingText: "Cancelling Appointment, Please Wait...".needTranslation); | 
		
	
		
			
				|  |  |  |  |                         await myAppointmentsViewModel.cancelAppointment( | 
		
	
		
			
				|  |  |  |  |                             patientAppointmentHistoryResponseModel: widget.patientAppointmentHistoryResponseModel, | 
		
	
		
			
				|  |  |  |  |                             onSuccess: (apiResponse) { | 
		
	
		
			
				|  |  |  |  |                               Navigator.of(context).pop(); | 
		
	
		
			
				|  |  |  |  |                               showCommonBottomSheet(context, | 
		
	
		
			
				|  |  |  |  |                                   child: Utils.getSuccessWidget(loadingText: "Appointment Cancelled Successfully".needTranslation), | 
		
	
		
			
				|  |  |  |  |                                   callBackFunc: (str) {}, | 
		
	
		
			
				|  |  |  |  |                                   title: "", | 
		
	
		
			
				|  |  |  |  |                                   height: ResponsiveExtension.screenHeight * 0.3, | 
		
	
		
			
				|  |  |  |  |                                   isCloseButtonVisible: false, | 
		
	
		
			
				|  |  |  |  |                                   isDismissible: false, | 
		
	
		
			
				|  |  |  |  |                                   isFullScreen: false, | 
		
	
		
			
				|  |  |  |  |                                   isSuccessDialog: true); | 
		
	
		
			
				|  |  |  |  |                               LoaderBottomSheet.hideLoader(); | 
		
	
		
			
				|  |  |  |  |                               myAppointmentsViewModel.setIsAppointmentDataToBeLoaded(true); | 
		
	
		
			
				|  |  |  |  |                               myAppointmentsViewModel.getPatientAppointments(true, false); | 
		
	
		
			
				|  |  |  |  |                               showCommonBottomSheetWithoutHeight( | 
		
	
		
			
				|  |  |  |  |                                 context, | 
		
	
		
			
				|  |  |  |  |                                 child: Utils.getSuccessWidget(loadingText: "Appointment Cancelled Successfully".needTranslation), | 
		
	
		
			
				|  |  |  |  |                                 callBackFunc: () { | 
		
	
		
			
				|  |  |  |  |                                   Navigator.of(context).pop(); | 
		
	
		
			
				|  |  |  |  |                                 }, | 
		
	
		
			
				|  |  |  |  |                                 title: "", | 
		
	
		
			
				|  |  |  |  |                                 isCloseButtonVisible: true, | 
		
	
		
			
				|  |  |  |  |                                 isDismissible: false, | 
		
	
		
			
				|  |  |  |  |                                 isFullScreen: false, | 
		
	
		
			
				|  |  |  |  |                               ); | 
		
	
		
			
				|  |  |  |  |                             }); | 
		
	
		
			
				|  |  |  |  |                         Navigator.of(context).pop(); | 
		
	
		
			
				|  |  |  |  |                         Navigator.of(context).pop(); | 
		
	
		
			
				|  |  |  |  |                       }, | 
		
	
		
			
				|  |  |  |  |                       onRescheduleTap: () async { | 
		
	
		
			
				|  |  |  |  |                         openDoctorScheduleCalendar(); | 
		
	
	
		
			
				
					|  |  |  | @ -510,7 +505,7 @@ class _AppointmentDetailsPageState extends State<AppointmentDetailsPage> { | 
		
	
		
			
				|  |  |  |  |       projectName: widget.patientAppointmentHistoryResponseModel.projectName, | 
		
	
		
			
				|  |  |  |  |     ); | 
		
	
		
			
				|  |  |  |  |     bookAppointmentsViewModel.setSelectedDoctor(doctor); | 
		
	
		
			
				|  |  |  |  |     LoaderBottomSheet.showLoader(); | 
		
	
		
			
				|  |  |  |  |     LoaderBottomSheet.showLoader(loadingText: "Fetching Doctor Schedule, Please Wait...".needTranslation); | 
		
	
		
			
				|  |  |  |  |     await bookAppointmentsViewModel.getDoctorFreeSlots( | 
		
	
		
			
				|  |  |  |  |         isBookingForLiveCare: false, | 
		
	
		
			
				|  |  |  |  |         onSuccess: (dynamic respData) async { | 
		
	
	
		
			
				
					|  |  |  | @ -541,24 +536,19 @@ class _AppointmentDetailsPageState extends State<AppointmentDetailsPage> { | 
		
	
		
			
				|  |  |  |  |       case 0: | 
		
	
		
			
				|  |  |  |  |         break; | 
		
	
		
			
				|  |  |  |  |       case 10: | 
		
	
		
			
				|  |  |  |  |         showCommonBottomSheet(context, | 
		
	
		
			
				|  |  |  |  |             child: Utils.getLoadingWidget(), callBackFunc: (str) {}, title: "", height: ResponsiveExtension.screenHeight * 0.3, isCloseButtonVisible: false, isDismissible: false, isFullScreen: false); | 
		
	
		
			
				|  |  |  |  |         LoaderBottomSheet.showLoader(loadingText: "Confirming Appointment, Please Wait...".needTranslation); | 
		
	
		
			
				|  |  |  |  |         await myAppointmentsViewModel.confirmAppointment( | 
		
	
		
			
				|  |  |  |  |             patientAppointmentHistoryResponseModel: widget.patientAppointmentHistoryResponseModel, | 
		
	
		
			
				|  |  |  |  |             onSuccess: (apiResponse) { | 
		
	
		
			
				|  |  |  |  |               Navigator.of(context).pop(); | 
		
	
		
			
				|  |  |  |  |               showCommonBottomSheet(context, | 
		
	
		
			
				|  |  |  |  |                   child: Utils.getSuccessWidget(loadingText: "Appointment Confirmed Successfully".needTranslation), | 
		
	
		
			
				|  |  |  |  |                   callBackFunc: (str) {}, | 
		
	
		
			
				|  |  |  |  |                   title: "", | 
		
	
		
			
				|  |  |  |  |                   height: ResponsiveExtension.screenHeight * 0.3, | 
		
	
		
			
				|  |  |  |  |                   isCloseButtonVisible: false, | 
		
	
		
			
				|  |  |  |  |                   isDismissible: false, | 
		
	
		
			
				|  |  |  |  |                   isFullScreen: false, | 
		
	
		
			
				|  |  |  |  |               LoaderBottomSheet.hideLoader(); | 
		
	
		
			
				|  |  |  |  |               myAppointmentsViewModel.setIsAppointmentDataToBeLoaded(true); | 
		
	
		
			
				|  |  |  |  |               myAppointmentsViewModel.getPatientAppointments(true, false); | 
		
	
		
			
				|  |  |  |  |               showCommonBottomSheet(context, child: Utils.getSuccessWidget(loadingText: "Appointment Confirmed Successfully".needTranslation), callBackFunc: (str) { | 
		
	
		
			
				|  |  |  |  |                 Navigator.of(context).pop(); | 
		
	
		
			
				|  |  |  |  |               }, title: "", height: ResponsiveExtension.screenHeight * 0.3, isCloseButtonVisible: true, isDismissible: false, isFullScreen: false, | 
		
	
		
			
				|  |  |  |  |                   isSuccessDialog: true); | 
		
	
		
			
				|  |  |  |  |             }); | 
		
	
		
			
				|  |  |  |  |         Navigator.of(context).pop(); | 
		
	
		
			
				|  |  |  |  |         Navigator.of(context).pop(); | 
		
	
		
			
				|  |  |  |  |       // LoaderBottomSheet.hideLoader(); | 
		
	
		
			
				|  |  |  |  |       case 15: | 
		
	
		
			
				|  |  |  |  |         break; | 
		
	
		
			
				|  |  |  |  |       case 20: | 
		
	
	
		
			
				
					|  |  |  | 
 |