From 7c2889c5d22c435ca0199a2dcb89df9b2adb397d Mon Sep 17 00:00:00 2001 From: Elham Rababah Date: Thu, 29 Apr 2021 11:47:30 +0300 Subject: [PATCH] fix height issue --- lib/screens/patients/profile/patient_profile_screen.dart | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/screens/patients/profile/patient_profile_screen.dart b/lib/screens/patients/profile/patient_profile_screen.dart index 9e3d5140..31be0812 100644 --- a/lib/screens/patients/profile/patient_profile_screen.dart +++ b/lib/screens/patients/profile/patient_profile_screen.dart @@ -102,11 +102,14 @@ class _PatientProfileScreenState extends State height: (patient.patientStatusType != null && patient.patientStatusType == 43) ? 210 - : 0, + : isDischargedPatient?240:0, ), Container( - height: !isSearchAndOut ? MediaQuery + height: !isSearchAndOut ? isDischargedPatient?MediaQuery + .of(context) + .size + .height * 0.64 : MediaQuery .of(context) .size .height * 0.65 : MediaQuery