From 5a9ab457e5cbe191532ed7242a3549ccc565aaec Mon Sep 17 00:00:00 2001 From: Sultan Khan Date: Sun, 17 Oct 2021 18:15:05 +0300 Subject: [PATCH] family files --- lib/pages/DrawerPages/family/my-family.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/pages/DrawerPages/family/my-family.dart b/lib/pages/DrawerPages/family/my-family.dart index afad2d99..127c68ce 100644 --- a/lib/pages/DrawerPages/family/my-family.dart +++ b/lib/pages/DrawerPages/family/my-family.dart @@ -162,6 +162,7 @@ class _MyFamily extends State with TickerProviderStateMixin { else return ListView.separated( itemBuilder: (context, index) { + snapshot.data.getAllSharedRecordsByStatusList[index].gender = 2; if (snapshot.data.getAllSharedRecordsByStatusList[index].status == 3) return Card( margin: EdgeInsets.all(10), @@ -204,7 +205,7 @@ class _MyFamily extends State with TickerProviderStateMixin { switchUser(snapshot.data.getAllSharedRecordsByStatusList[index], context); }, child: Container( - decoration: BoxDecoration(color: Color.fromRGBO(255, 255, 255, 0.2), borderRadius: BorderRadius.circular(20)), + decoration: BoxDecoration(color: Colors.black.withOpacity(0.15), borderRadius: BorderRadius.circular(20)), padding: EdgeInsets.fromLTRB(15, 10, 15, 10), child: Row( mainAxisAlignment: MainAxisAlignment.center, @@ -237,7 +238,7 @@ class _MyFamily extends State with TickerProviderStateMixin { deleteFamily(snapshot.data.getAllSharedRecordsByStatusList[index], context); }, child: Container( - decoration: BoxDecoration(color: Color.fromRGBO(255, 255, 255, 0.2), borderRadius: BorderRadius.circular(20)), + decoration: BoxDecoration(color: Colors.black.withOpacity(0.15), borderRadius: BorderRadius.circular(20)), padding: EdgeInsets.fromLTRB(15, 10, 15, 10), child: Row( mainAxisAlignment: MainAxisAlignment.center,