|
|
|
@ -32,12 +32,15 @@ class PatientProfileWidget extends StatelessWidget {
|
|
|
|
|
// ProfileStatusInfoWidget()
|
|
|
|
|
// ]);
|
|
|
|
|
|
|
|
|
|
return Container(
|
|
|
|
|
child: Column(children: <Widget>[
|
|
|
|
|
return CustomScrollView(primary: false, slivers: <Widget>[
|
|
|
|
|
SliverList(
|
|
|
|
|
delegate: SliverChildListDelegate(
|
|
|
|
|
[
|
|
|
|
|
Expanded(
|
|
|
|
|
flex: 1,
|
|
|
|
|
child:
|
|
|
|
|
Row(mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[
|
|
|
|
|
child: Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Column(children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
padding: EdgeInsets.only(top: 20),
|
|
|
|
@ -58,7 +61,9 @@ class PatientProfileWidget extends StatelessWidget {
|
|
|
|
|
fontSize: 16,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
patient.genderDescription.toString() + ', ' + patient.age,
|
|
|
|
|
patient.genderDescription.toString() +
|
|
|
|
|
', ' +
|
|
|
|
|
patient.age,
|
|
|
|
|
fontWeight: FontWeight.normal,
|
|
|
|
|
fontSize: 16,
|
|
|
|
|
)
|
|
|
|
@ -68,10 +73,20 @@ class PatientProfileWidget extends StatelessWidget {
|
|
|
|
|
]),
|
|
|
|
|
]),
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
flex: 2,
|
|
|
|
|
child: ProfileMedicalInfoWidget(patient: patient),
|
|
|
|
|
)
|
|
|
|
|
]));
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
SliverPadding(
|
|
|
|
|
padding: const EdgeInsets.fromLTRB(20, 30, 15, 10),
|
|
|
|
|
sliver: ProfileMedicalInfoWidget())
|
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
// Container(
|
|
|
|
|
// child: Column(children: <Widget>[
|
|
|
|
|
// Expanded(
|
|
|
|
|
// flex: 2,
|
|
|
|
|
// child: ,
|
|
|
|
|
// )
|
|
|
|
|
// ]));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|