pull/222/head
haroon amjad 4 days ago
parent b33a559305
commit ad0cbe1e21

@ -267,7 +267,7 @@ class AppointmentDoctorCard extends StatelessWidget {
fontSize: 14.f, fontSize: 14.f,
isBold: true, isBold: true,
borderRadius: 12.r, borderRadius: 12.r,
height: 40.h, height: 46.h,
icon: AppAssets.appointment_calendar_icon, icon: AppAssets.appointment_calendar_icon,
iconColor: AppColors.primaryRedColor, iconColor: AppColors.primaryRedColor,
iconSize: 16.h, iconSize: 16.h,
@ -286,7 +286,7 @@ class AppointmentDoctorCard extends StatelessWidget {
fontSize: 14.f, fontSize: 14.f,
isBold: true, isBold: true,
borderRadius: 12.r, borderRadius: 12.r,
height: 40.h, height: 46.h,
icon: AppAssets.cancel, icon: AppAssets.cancel,
iconColor: AppColors.whiteColor, iconColor: AppColors.whiteColor,
iconSize: 16.h, iconSize: 16.h,

@ -220,8 +220,9 @@ class _SelectDoctorPageState extends State<SelectDoctorPage> {
], ],
).paddingSymmetrical(0.h, 0.h), ).paddingSymmetrical(0.h, 0.h),
if (bookAppointmentsViewModel.isGetDocForHealthCal && bookAppointmentsVM.showSortFilterButtons) SizedBox(height: 16.h), if (bookAppointmentsViewModel.isGetDocForHealthCal && bookAppointmentsVM.showSortFilterButtons) SizedBox(height: 16.h),
bookAppointmentsVM.doctorsListGrouped.isNotEmpty // bookAppointmentsVM.doctorsListGrouped.isNotEmpty
? Row( // ?
Row(
mainAxisSize: MainAxisSize.max, mainAxisSize: MainAxisSize.max,
children: [ children: [
Column( Column(
@ -243,8 +244,8 @@ class _SelectDoctorPageState extends State<SelectDoctorPage> {
}, },
), ),
], ],
) ),
: SizedBox.shrink(), // : SizedBox.shrink(),
ListView.separated( ListView.separated(
padding: EdgeInsets.only(top: 16.h), padding: EdgeInsets.only(top: 16.h),
shrinkWrap: true, shrinkWrap: true,

@ -188,7 +188,7 @@ class _LandingPageState extends State<LandingPage> {
// Refresh Appointments Data // Refresh Appointments Data
myAppointmentsViewModel.setIsAppointmentDataToBeLoaded(true); myAppointmentsViewModel.setIsAppointmentDataToBeLoaded(true);
myAppointmentsViewModel.initAppointmentsViewModel(); myAppointmentsViewModel.initAppointmentsViewModel();
myAppointmentsViewModel.getPatientAppointments(true, false); myAppointmentsViewModel.getPatientAppointments(true, true);
// Refresh Appointments Data // Refresh Appointments Data
habibWalletVM.initHabibWalletProvider(); habibWalletVM.initHabibWalletProvider();

Loading…
Cancel
Save