|  |  |  | @ -30,7 +30,9 @@ import 'package:hmg_patient_app_new/widgets/transitions/fade_page.dart'; | 
		
	
		
			
				|  |  |  |  | import 'package:provider/provider.dart'; | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | class SelectClinicPage extends StatefulWidget { | 
		
	
		
			
				|  |  |  |  |   const SelectClinicPage({super.key}); | 
		
	
		
			
				|  |  |  |  |   bool isFromRegionFlow; | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |   SelectClinicPage({super.key, this.isFromRegionFlow = false}); | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |   @override | 
		
	
		
			
				|  |  |  |  |   State<SelectClinicPage> createState() => _SelectClinicPageState(); | 
		
	
	
		
			
				
					|  |  |  | @ -204,17 +206,24 @@ class _SelectClinicPageState extends State<SelectClinicPage> { | 
		
	
		
			
				|  |  |  |  |       Navigator.of(context).push( | 
		
	
		
			
				|  |  |  |  |         CustomPageRoute( | 
		
	
		
			
				|  |  |  |  |           page: SelectLivecareClinicPage(onNegativeClicked: (){ | 
		
	
		
			
				|  |  |  |  |             openRegionListBottomSheet(context, RegionBottomSheetType.FOR_CLINIIC); | 
		
	
		
			
				|  |  |  |  |           },), | 
		
	
		
			
				|  |  |  |  |               handleDoctorScreen(); | 
		
	
		
			
				|  |  |  |  |             },), | 
		
	
		
			
				|  |  |  |  |         ), | 
		
	
		
			
				|  |  |  |  |       ); | 
		
	
		
			
				|  |  |  |  |     } else { | 
		
	
		
			
				|  |  |  |  |       handleDoctorScreen(); | 
		
	
		
			
				|  |  |  |  |     } | 
		
	
		
			
				|  |  |  |  |   } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |   void handleDoctorScreen() { | 
		
	
		
			
				|  |  |  |  |     if (widget.isFromRegionFlow) { | 
		
	
		
			
				|  |  |  |  |       Navigator.of(context).push( | 
		
	
		
			
				|  |  |  |  |         CustomPageRoute( | 
		
	
		
			
				|  |  |  |  |           page: SelectDoctorPage(), | 
		
	
		
			
				|  |  |  |  |         ), | 
		
	
		
			
				|  |  |  |  |       ); | 
		
	
		
			
				|  |  |  |  |     } else { | 
		
	
		
			
				|  |  |  |  |       openRegionListBottomSheet(context, RegionBottomSheetType.FOR_CLINIIC); | 
		
	
		
			
				|  |  |  |  |       // Navigator.of(context).push( | 
		
	
		
			
				|  |  |  |  |       //   CustomPageRoute( | 
		
	
		
			
				|  |  |  |  |       //     page: SelectDoctorPage(), | 
		
	
		
			
				|  |  |  |  |       //   ), | 
		
	
		
			
				|  |  |  |  |       // ); | 
		
	
		
			
				|  |  |  |  |     } | 
		
	
		
			
				|  |  |  |  |   } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
	
		
			
				
					|  |  |  | 
 |