my family fix

merge-update-with-lab-changes
haroon amjad 4 years ago
parent a710406317
commit 0c895348e7

@ -160,14 +160,13 @@ class _MyFamily extends State<MyFamily> with TickerProviderStateMixin {
else else
return ListView.separated( return ListView.separated(
itemBuilder: (context, index) { itemBuilder: (context, index) {
// snapshot.data.getAllSharedRecordsByStatusList[index].gender = 2;
if (snapshot.data.getAllSharedRecordsByStatusList[index].status == 3) if (snapshot.data.getAllSharedRecordsByStatusList[index].status == 3)
return Container( return Container(
margin: EdgeInsets.all(5), margin: EdgeInsets.all(5),
decoration: cardRadius( decoration: cardRadius(
15, 15,
elevation: 0, elevation: 0,
color: snapshot.data.getAllSharedRecordsByStatusList[index].gender == 1 ? Color(0xffFDA4B0) : Color(0xff6EA8FF), color: snapshot.data.getAllSharedRecordsByStatusList[index].gender == 2 ? Color(0xffFDA4B0) : Color(0xff6EA8FF),
), ),
child: Container( child: Container(
// height: 130,0xffFDA4B0 // height: 130,0xffFDA4B0

Loading…
Cancel
Save