merge-update-with-lab-changes
Sultan Khan 6 years ago
parent 01f8b4e004
commit 9afeecf9fa

@ -30,7 +30,7 @@ class _MyFamily extends State<MyFamily> {
child: SingleChildScrollView( child: SingleChildScrollView(
padding: EdgeInsets.all(20), padding: EdgeInsets.all(20),
child: Container( child: Container(
height: SizeConfig.realScreenHeight * .9, height: SizeConfig.realScreenHeight,
width: SizeConfig.realScreenWidth, width: SizeConfig.realScreenWidth,
child: Stack( child: Stack(
children: <Widget>[ children: <Widget>[
@ -56,7 +56,7 @@ class _MyFamily extends State<MyFamily> {
Widget myFamilyDetails() { Widget myFamilyDetails() {
return Padding( return Padding(
padding: EdgeInsets.only(top: 40), padding: EdgeInsets.only(top: 50),
child: Column( child: Column(
children: <Widget>[ children: <Widget>[
Row( Row(
@ -95,16 +95,20 @@ class _MyFamily extends State<MyFamily> {
children: snapshot children: snapshot
.data.getAllSharedRecordsByStatusList .data.getAllSharedRecordsByStatusList
.map<Widget>((result) { .map<Widget>((result) {
return Padding( return result.status == 3
? Padding(
padding: EdgeInsets.all(10), padding: EdgeInsets.all(10),
child: Row( child: Row(
children: <Widget>[ children: <Widget>[
Expanded( Expanded(
flex: 3, child: Text(result.patientName)), flex: 3,
child: Text(result.patientName)),
Expanded(flex: 2, child: Icon(Icons.group)), Expanded(flex: 2, child: Icon(Icons.group)),
Expanded(flex: 1, child: Icon(Icons.delete)), Expanded(
flex: 1, child: Icon(Icons.delete)),
], ],
)); ))
: SizedBox();
}).toList()); }).toList());
} }
}, },

Loading…
Cancel
Save