fix scrolling in patient screen

merge-requests/611/head
Elham Rababah 5 years ago
parent acb1bdbb37
commit 72bf5d2337

@ -81,8 +81,7 @@ class _PatientProfileScreenState extends State<PatientProfileScreen>with SingleT
appBarTitle: TranslationBase.of(context).patientProfile,
isShowAppBar: false,//TODO fix button location
// appBar: PatientProfileHeaderNewDesignAppBar(patient,arrivalType??'0',patientType,isInpatient: isInpatient,),
body: SingleChildScrollView(
child: Container(
body: Container(
child: Column(
children: [
Stack(
@ -99,6 +98,11 @@ class _PatientProfileScreenState extends State<PatientProfileScreen>with SingleT
? 210
: 0,
),
SingleChildScrollView(
child: Container(
height: MediaQuery.of(context).size.height *0.65,
child: ListView(
children: [
Container(
child: isFromSearch
? Column(
@ -690,6 +694,10 @@ class _PatientProfileScreenState extends State<PatientProfileScreen>with SingleT
),
],
),
),
),
],
),
if (patient.patientStatusType != null &&
patient.patientStatusType == 43)
@ -782,7 +790,6 @@ class _PatientProfileScreenState extends State<PatientProfileScreen>with SingleT
],
),
),
),
));
}

@ -39,7 +39,7 @@ class PatientProfileHeaderNewDesignAppBar extends StatelessWidget
decoration: BoxDecoration(
color: Colors.white,
),
height: height == 0 ? isInpatient? 235:200 : height,
height: height == 0 ? isInpatient? 210:200 : height,
child: Container(
padding: EdgeInsets.only(left: 10, right: 10, bottom: 10),
margin: EdgeInsets.only(top: 50),

Loading…
Cancel
Save