Layout fix for appointment details page

pull/206/head
haroon amjad 3 days ago
parent f9f2e22376
commit c18bf9f2c1

@ -129,10 +129,7 @@ class AppointmentDoctorCard extends StatelessWidget {
], ],
), ),
), ),
Expanded( Utils.buildSvgWithAssets(icon: AppAssets.doctor_profile_icon, width: 20.h, height: 20.h, fit: BoxFit.scaleDown).onPress(() async {
flex: 1,
child: Utils.buildSvgWithAssets(icon: AppAssets.doctor_profile_icon, width: 20.h, height: 20.h, fit: BoxFit.scaleDown),
).onPress(() async {
DoctorsListResponseModel selectedDoctor = DoctorsListResponseModel(); DoctorsListResponseModel selectedDoctor = DoctorsListResponseModel();
selectedDoctor.doctorID = patientAppointmentHistoryResponseModel.doctorID; selectedDoctor.doctorID = patientAppointmentHistoryResponseModel.doctorID;
selectedDoctor.doctorImageURL = patientAppointmentHistoryResponseModel.doctorImageURL; selectedDoctor.doctorImageURL = patientAppointmentHistoryResponseModel.doctorImageURL;

Loading…
Cancel
Save