From c18bf9f2c1f22689d7345f47d9cbe1d74272ec21 Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Fri, 3 Apr 2026 18:02:18 +0300 Subject: [PATCH] Layout fix for appointment details page --- .../appointments/widgets/appointment_doctor_card.dart | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/presentation/appointments/widgets/appointment_doctor_card.dart b/lib/presentation/appointments/widgets/appointment_doctor_card.dart index 9e30a10e..11619b5f 100644 --- a/lib/presentation/appointments/widgets/appointment_doctor_card.dart +++ b/lib/presentation/appointments/widgets/appointment_doctor_card.dart @@ -129,10 +129,7 @@ class AppointmentDoctorCard extends StatelessWidget { ], ), ), - Expanded( - flex: 1, - child: Utils.buildSvgWithAssets(icon: AppAssets.doctor_profile_icon, width: 20.h, height: 20.h, fit: BoxFit.scaleDown), - ).onPress(() async { + Utils.buildSvgWithAssets(icon: AppAssets.doctor_profile_icon, width: 20.h, height: 20.h, fit: BoxFit.scaleDown).onPress(() async { DoctorsListResponseModel selectedDoctor = DoctorsListResponseModel(); selectedDoctor.doctorID = patientAppointmentHistoryResponseModel.doctorID; selectedDoctor.doctorImageURL = patientAppointmentHistoryResponseModel.doctorImageURL;