merge-requests/34/merge
Sultan Khan 4 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: EdgeInsets.all(10), ? Padding(
child: Row( padding: EdgeInsets.all(10),
children: <Widget>[ child: Row(
Expanded( children: <Widget>[
flex: 3, child: Text(result.patientName)), Expanded(
Expanded(flex: 2, child: Icon(Icons.group)), flex: 3,
Expanded(flex: 1, child: Icon(Icons.delete)), child: Text(result.patientName)),
], Expanded(flex: 2, child: Icon(Icons.group)),
)); Expanded(
flex: 1, child: Icon(Icons.delete)),
],
))
: SizedBox();
}).toList()); }).toList());
} }
}, },

Loading…
Cancel
Save