my family fix

merge-requests/447/head
haroon amjad 4 years ago
parent a710406317
commit 0c895348e7

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

Loading…
Cancel
Save