merge-requests/34/merge
Sultan Khan 4 years ago
parent 01f8b4e004
commit 9afeecf9fa

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

Loading…
Cancel
Save