|  |  |  | @ -106,7 +106,9 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |     insuranceViewModel = Provider.of<InsuranceViewModel>(context, listen: false); | 
		
	
		
			
				|  |  |  |  |     immediateLiveCareViewModel = Provider.of<ImmediateLiveCareViewModel>(context, listen: false); | 
		
	
		
			
				|  |  |  |  |     appState = getIt.get<AppState>(); | 
		
	
		
			
				|  |  |  |  |     return Scaffold( | 
		
	
		
			
				|  |  |  |  |     return PopScope( | 
		
	
		
			
				|  |  |  |  |       canPop: false, | 
		
	
		
			
				|  |  |  |  |       child: Scaffold( | 
		
	
		
			
				|  |  |  |  |         backgroundColor: AppColors.bgScaffoldColor, | 
		
	
		
			
				|  |  |  |  |         body: SingleChildScrollView( | 
		
	
		
			
				|  |  |  |  |           padding: EdgeInsets.only(top: kToolbarHeight + 0.h, bottom: 24), | 
		
	
	
		
			
				
					|  |  |  | @ -135,7 +137,7 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |                           textColor: Color(0xffED1C2B), | 
		
	
		
			
				|  |  |  |  |                           fontSize: 14.f, | 
		
	
		
			
				|  |  |  |  |                           fontWeight: FontWeight.w500, | 
		
	
		
			
				|  |  |  |  |                         borderRadius: 12, | 
		
	
		
			
				|  |  |  |  |                           borderRadius: 12.r, | 
		
	
		
			
				|  |  |  |  |                           padding: EdgeInsets.fromLTRB(10.h, 0, 10.h, 0), | 
		
	
		
			
				|  |  |  |  |                           height: 40.h, | 
		
	
		
			
				|  |  |  |  |                         ), | 
		
	
	
		
			
				
					|  |  |  | @ -168,7 +170,7 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |                         ); | 
		
	
		
			
				|  |  |  |  |                       }), | 
		
	
		
			
				|  |  |  |  |                     ], | 
		
	
		
			
				|  |  |  |  |                 ) | 
		
	
		
			
				|  |  |  |  |                   ), | 
		
	
		
			
				|  |  |  |  |                 ], | 
		
	
		
			
				|  |  |  |  |               ).paddingSymmetrical(24.h, 0.h), | 
		
	
		
			
				|  |  |  |  |               appState.isAuthenticated | 
		
	
	
		
			
				
					|  |  |  | @ -188,17 +190,18 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |                             ), | 
		
	
		
			
				|  |  |  |  |                           ], | 
		
	
		
			
				|  |  |  |  |                         ).paddingSymmetrical(24.h, 0.h).onPress(() { | 
		
	
		
			
				|  |  |  |  |                         Navigator.of(context).push( | 
		
	
		
			
				|  |  |  |  |                           CustomPageRoute( | 
		
	
		
			
				|  |  |  |  |                             page: MyAppointmentsPage(), | 
		
	
		
			
				|  |  |  |  |                           ), | 
		
	
		
			
				|  |  |  |  |                         ); | 
		
	
		
			
				|  |  |  |  |                           Navigator.of(context).push(CustomPageRoute(page: MyAppointmentsPage())); | 
		
	
		
			
				|  |  |  |  |                         }), | 
		
	
		
			
				|  |  |  |  |                         SizedBox(height: 16.h), | 
		
	
		
			
				|  |  |  |  |                       Consumer<MyAppointmentsViewModel>(builder: (context, myAppointmentsVM, child) { | 
		
	
		
			
				|  |  |  |  |                         Consumer<MyAppointmentsViewModel>( | 
		
	
		
			
				|  |  |  |  |                           builder: (context, myAppointmentsVM, child) { | 
		
	
		
			
				|  |  |  |  |                             return myAppointmentsVM.isMyAppointmentsLoading | 
		
	
		
			
				|  |  |  |  |                                 ? Container( | 
		
	
		
			
				|  |  |  |  |                                 decoration: RoundedRectangleBorder().toSmoothCornerDecoration(color: AppColors.whiteColor, borderRadius: 24.h, hasShadow: true), | 
		
	
		
			
				|  |  |  |  |                                     decoration: RoundedRectangleBorder().toSmoothCornerDecoration( | 
		
	
		
			
				|  |  |  |  |                                       color: AppColors.whiteColor, | 
		
	
		
			
				|  |  |  |  |                                       borderRadius: 24.r, | 
		
	
		
			
				|  |  |  |  |                                       hasShadow: true, | 
		
	
		
			
				|  |  |  |  |                                     ), | 
		
	
		
			
				|  |  |  |  |                                     child: AppointmentCard( | 
		
	
		
			
				|  |  |  |  |                                       patientAppointmentHistoryResponseModel: PatientAppointmentHistoryResponseModel(), | 
		
	
		
			
				|  |  |  |  |                                       myAppointmentsViewModel: myAppointmentsViewModel, | 
		
	
	
		
			
				
					|  |  |  | @ -210,8 +213,11 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |                                 : myAppointmentsVM.patientAppointmentsHistoryList.isNotEmpty | 
		
	
		
			
				|  |  |  |  |                                     ? myAppointmentsVM.patientAppointmentsHistoryList.length == 1 | 
		
	
		
			
				|  |  |  |  |                                         ? Container( | 
		
	
		
			
				|  |  |  |  |                                         decoration: | 
		
	
		
			
				|  |  |  |  |                                             RoundedRectangleBorder().toSmoothCornerDecoration(color: AppColors.whiteColor, borderRadius: 24.h, hasShadow: true), | 
		
	
		
			
				|  |  |  |  |                                             decoration: RoundedRectangleBorder().toSmoothCornerDecoration( | 
		
	
		
			
				|  |  |  |  |                                               color: AppColors.whiteColor, | 
		
	
		
			
				|  |  |  |  |                                               borderRadius: 24.r, | 
		
	
		
			
				|  |  |  |  |                                               hasShadow: true, | 
		
	
		
			
				|  |  |  |  |                                             ), | 
		
	
		
			
				|  |  |  |  |                                             child: AppointmentCard( | 
		
	
		
			
				|  |  |  |  |                                               patientAppointmentHistoryResponseModel: myAppointmentsVM.patientAppointmentsHistoryList.first, | 
		
	
		
			
				|  |  |  |  |                                               myAppointmentsViewModel: myAppointmentsViewModel, | 
		
	
	
		
			
				
					|  |  |  | @ -240,8 +246,11 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |                                             ), | 
		
	
		
			
				|  |  |  |  |                                             itemBuilder: (BuildContext context, int index) { | 
		
	
		
			
				|  |  |  |  |                                               return Container( | 
		
	
		
			
				|  |  |  |  |                                             decoration: RoundedRectangleBorder() | 
		
	
		
			
				|  |  |  |  |                                                 .toSmoothCornerDecoration(color: AppColors.whiteColor, borderRadius: 24.h, hasShadow: true), | 
		
	
		
			
				|  |  |  |  |                                                 decoration: RoundedRectangleBorder().toSmoothCornerDecoration( | 
		
	
		
			
				|  |  |  |  |                                                   color: AppColors.whiteColor, | 
		
	
		
			
				|  |  |  |  |                                                   borderRadius: 24.r, | 
		
	
		
			
				|  |  |  |  |                                                   hasShadow: true, | 
		
	
		
			
				|  |  |  |  |                                                 ), | 
		
	
		
			
				|  |  |  |  |                                                 child: AppointmentCard( | 
		
	
		
			
				|  |  |  |  |                                                   patientAppointmentHistoryResponseModel: myAppointmentsVM.patientAppointmentsHistoryList[index], | 
		
	
		
			
				|  |  |  |  |                                                   myAppointmentsViewModel: myAppointmentsViewModel, | 
		
	
	
		
			
				
					|  |  |  | @ -255,7 +264,7 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |                                     : Container( | 
		
	
		
			
				|  |  |  |  |                                         width: double.infinity, | 
		
	
		
			
				|  |  |  |  |                                         decoration: | 
		
	
		
			
				|  |  |  |  |                                         RoundedRectangleBorder().toSmoothCornerDecoration(color: AppColors.whiteColor, borderRadius: 24, hasShadow: true), | 
		
	
		
			
				|  |  |  |  |                                             RoundedRectangleBorder().toSmoothCornerDecoration(color: AppColors.whiteColor, borderRadius: 24.r, hasShadow: true), | 
		
	
		
			
				|  |  |  |  |                                         child: Padding( | 
		
	
		
			
				|  |  |  |  |                                           padding: EdgeInsets.all(12.h), | 
		
	
		
			
				|  |  |  |  |                                           child: Column( | 
		
	
	
		
			
				
					|  |  |  | @ -267,11 +276,7 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |                                               CustomButton( | 
		
	
		
			
				|  |  |  |  |                                                 text: LocaleKeys.bookAppo.tr(context: context), | 
		
	
		
			
				|  |  |  |  |                                                 onPressed: () { | 
		
	
		
			
				|  |  |  |  |                                               Navigator.of(context).push( | 
		
	
		
			
				|  |  |  |  |                                                 CustomPageRoute( | 
		
	
		
			
				|  |  |  |  |                                                   page: BookAppointmentPage(), | 
		
	
		
			
				|  |  |  |  |                                                 ), | 
		
	
		
			
				|  |  |  |  |                                               ); | 
		
	
		
			
				|  |  |  |  |                                                   Navigator.of(context).push(CustomPageRoute(page: BookAppointmentPage())); | 
		
	
		
			
				|  |  |  |  |                                                 }, | 
		
	
		
			
				|  |  |  |  |                                                 backgroundColor: Color(0xffFEE9EA), | 
		
	
		
			
				|  |  |  |  |                                                 borderColor: Color(0xffFEE9EA), | 
		
	
	
		
			
				
					|  |  |  | @ -281,13 +286,16 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |                                                 padding: EdgeInsets.fromLTRB(10.h, 0, 10.h, 0), | 
		
	
		
			
				|  |  |  |  |                                                 icon: AppAssets.add_icon, | 
		
	
		
			
				|  |  |  |  |                                                 iconColor: AppColors.primaryRedColor, | 
		
	
		
			
				|  |  |  |  |                                                 height: (isFoldable || isTablet) ? 56.h : 46.h, | 
		
	
		
			
				|  |  |  |  |                                               ), | 
		
	
		
			
				|  |  |  |  |                                             ], | 
		
	
		
			
				|  |  |  |  |                                           ), | 
		
	
		
			
				|  |  |  |  |                                         ), | 
		
	
		
			
				|  |  |  |  |                                       ).paddingSymmetrical(24.h, 0.h); | 
		
	
		
			
				|  |  |  |  |                       }), | 
		
	
		
			
				|  |  |  |  |                       Consumer<ImmediateLiveCareViewModel>(builder: (context, immediateLiveCareVM, child) { | 
		
	
		
			
				|  |  |  |  |                           }, | 
		
	
		
			
				|  |  |  |  |                         ), | 
		
	
		
			
				|  |  |  |  |                         Consumer<ImmediateLiveCareViewModel>( | 
		
	
		
			
				|  |  |  |  |                           builder: (context, immediateLiveCareVM, child) { | 
		
	
		
			
				|  |  |  |  |                             return immediateLiveCareVM.patientHasPendingLiveCareRequest | 
		
	
		
			
				|  |  |  |  |                                 ? Column( | 
		
	
		
			
				|  |  |  |  |                                     children: [ | 
		
	
	
		
			
				
					|  |  |  | @ -295,7 +303,7 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |                                       Container( | 
		
	
		
			
				|  |  |  |  |                                         decoration: RoundedRectangleBorder().toSmoothCornerDecoration( | 
		
	
		
			
				|  |  |  |  |                                           color: AppColors.whiteColor, | 
		
	
		
			
				|  |  |  |  |                                       borderRadius: 20.h, | 
		
	
		
			
				|  |  |  |  |                                           borderRadius: 20.r, | 
		
	
		
			
				|  |  |  |  |                                           hasShadow: true, | 
		
	
		
			
				|  |  |  |  |                                           side: BorderSide(color: AppColors.ratingColorYellow, width: 3.h), | 
		
	
		
			
				|  |  |  |  |                                         ), | 
		
	
	
		
			
				
					|  |  |  | @ -335,17 +343,14 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |                                           ), | 
		
	
		
			
				|  |  |  |  |                                         ), | 
		
	
		
			
				|  |  |  |  |                                       ).paddingSymmetrical(24.h, 0.h).onPress(() { | 
		
	
		
			
				|  |  |  |  |                                     Navigator.of(context).push( | 
		
	
		
			
				|  |  |  |  |                                       CustomPageRoute( | 
		
	
		
			
				|  |  |  |  |                                         page: ImmediateLiveCarePendingRequestPage(), | 
		
	
		
			
				|  |  |  |  |                                       ), | 
		
	
		
			
				|  |  |  |  |                                     ); | 
		
	
		
			
				|  |  |  |  |                                         Navigator.of(context).push(CustomPageRoute(page: ImmediateLiveCarePendingRequestPage())); | 
		
	
		
			
				|  |  |  |  |                                       }), | 
		
	
		
			
				|  |  |  |  |                                       SizedBox(height: 12.h), | 
		
	
		
			
				|  |  |  |  |                                     ], | 
		
	
		
			
				|  |  |  |  |                                   ) | 
		
	
		
			
				|  |  |  |  |                                 : SizedBox(height: 12.h); | 
		
	
		
			
				|  |  |  |  |                       }), | 
		
	
		
			
				|  |  |  |  |                           }, | 
		
	
		
			
				|  |  |  |  |                         ), | 
		
	
		
			
				|  |  |  |  |                         Row( | 
		
	
		
			
				|  |  |  |  |                           mainAxisAlignment: MainAxisAlignment.spaceBetween, | 
		
	
		
			
				|  |  |  |  |                           children: [ | 
		
	
	
		
			
				
					|  |  |  | @ -359,19 +364,12 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |                             ), | 
		
	
		
			
				|  |  |  |  |                           ], | 
		
	
		
			
				|  |  |  |  |                         ).paddingSymmetrical(24.h, 0.h).onPress(() { | 
		
	
		
			
				|  |  |  |  |                         Navigator.of(context).push( | 
		
	
		
			
				|  |  |  |  |                           CustomPageRoute( | 
		
	
		
			
				|  |  |  |  |                             page: MedicalFilePage(), | 
		
	
		
			
				|  |  |  |  |                           ), | 
		
	
		
			
				|  |  |  |  |                         ); | 
		
	
		
			
				|  |  |  |  |                           Navigator.of(context).push(CustomPageRoute(page: MedicalFilePage())); | 
		
	
		
			
				|  |  |  |  |                         }), | 
		
	
		
			
				|  |  |  |  |                         SizedBox(height: 16.h), | 
		
	
		
			
				|  |  |  |  |                         Container( | 
		
	
		
			
				|  |  |  |  |                           height: 120.h, | 
		
	
		
			
				|  |  |  |  |                         decoration: RoundedRectangleBorder().toSmoothCornerDecoration( | 
		
	
		
			
				|  |  |  |  |                           color: AppColors.whiteColor, | 
		
	
		
			
				|  |  |  |  |                           borderRadius: 24, | 
		
	
		
			
				|  |  |  |  |                         ), | 
		
	
		
			
				|  |  |  |  |                           decoration: RoundedRectangleBorder().toSmoothCornerDecoration(color: AppColors.whiteColor, borderRadius: 24.r), | 
		
	
		
			
				|  |  |  |  |                           child: Column( | 
		
	
		
			
				|  |  |  |  |                             children: [ | 
		
	
		
			
				|  |  |  |  |                               Expanded( | 
		
	
	
		
			
				
					|  |  |  | @ -411,10 +409,7 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |                     ) | 
		
	
		
			
				|  |  |  |  |                   : Container( | 
		
	
		
			
				|  |  |  |  |                       height: 127.h, | 
		
	
		
			
				|  |  |  |  |                     decoration: RoundedRectangleBorder().toSmoothCornerDecoration( | 
		
	
		
			
				|  |  |  |  |                       color: AppColors.whiteColor, | 
		
	
		
			
				|  |  |  |  |                       borderRadius: 24.r, | 
		
	
		
			
				|  |  |  |  |                     ), | 
		
	
		
			
				|  |  |  |  |                       decoration: RoundedRectangleBorder().toSmoothCornerDecoration(color: AppColors.whiteColor, borderRadius: 24.r), | 
		
	
		
			
				|  |  |  |  |                       child: Column( | 
		
	
		
			
				|  |  |  |  |                         children: [ | 
		
	
		
			
				|  |  |  |  |                           Expanded( | 
		
	
	
		
			
				
					|  |  |  | @ -464,7 +459,7 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |                 ], | 
		
	
		
			
				|  |  |  |  |               ).paddingSymmetrical(24.h, 0.h), | 
		
	
		
			
				|  |  |  |  |               SizedBox( | 
		
	
		
			
				|  |  |  |  |               height: 350.h, | 
		
	
		
			
				|  |  |  |  |                 height: 340.h, | 
		
	
		
			
				|  |  |  |  |                 child: ListView.separated( | 
		
	
		
			
				|  |  |  |  |                   scrollDirection: Axis.horizontal, | 
		
	
		
			
				|  |  |  |  |                   itemCount: LandingPageData.getServiceCardsList.length, | 
		
	
	
		
			
				
					|  |  |  | @ -494,6 +489,7 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |             ], | 
		
	
		
			
				|  |  |  |  |           ), | 
		
	
		
			
				|  |  |  |  |         ), | 
		
	
		
			
				|  |  |  |  |       ), | 
		
	
		
			
				|  |  |  |  |     ); | 
		
	
		
			
				|  |  |  |  |   } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
	
		
			
				
					|  |  |  | @ -503,7 +499,8 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |       title: "", | 
		
	
		
			
				|  |  |  |  |       isCloseButtonVisible: false, | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |       child: StatefulBuilder(builder: (context, setState) { | 
		
	
		
			
				|  |  |  |  |       child: StatefulBuilder( | 
		
	
		
			
				|  |  |  |  |         builder: (context, setState) { | 
		
	
		
			
				|  |  |  |  |           return QuickLogin( | 
		
	
		
			
				|  |  |  |  |             isDone: isDone, | 
		
	
		
			
				|  |  |  |  |             onPressed: () { | 
		
	
	
		
			
				
					|  |  |  | @ -515,7 +512,8 @@ class _LandingPageState extends State<LandingPage> { | 
		
	
		
			
				|  |  |  |  |               }); | 
		
	
		
			
				|  |  |  |  |             }, | 
		
	
		
			
				|  |  |  |  |           ); | 
		
	
		
			
				|  |  |  |  |       }), | 
		
	
		
			
				|  |  |  |  |         }, | 
		
	
		
			
				|  |  |  |  |       ), | 
		
	
		
			
				|  |  |  |  |       // height: isDone == false ? ResponsiveExtension.screenHeight * 0.5 : ResponsiveExtension.screenHeight * 0.3, | 
		
	
		
			
				|  |  |  |  |       isFullScreen: false, | 
		
	
		
			
				|  |  |  |  |       callBackFunc: () { | 
		
	
	
		
			
				
					|  |  |  | 
 |