|
|
|
|
@ -63,6 +63,7 @@ class _FamilyMembersState extends State<FamilyMembers> {
|
|
|
|
|
Expanded(
|
|
|
|
|
child: getEmployeeContactsList.length != 0
|
|
|
|
|
? SingleChildScrollView(
|
|
|
|
|
padding: const EdgeInsets.all(21),
|
|
|
|
|
scrollDirection: Axis.vertical,
|
|
|
|
|
child: ListView.separated(
|
|
|
|
|
scrollDirection: Axis.vertical,
|
|
|
|
|
@ -71,23 +72,7 @@ class _FamilyMembersState extends State<FamilyMembers> {
|
|
|
|
|
separatorBuilder: (cxt, index) => 12.height,
|
|
|
|
|
itemCount: getEmployeeContactsList.length,
|
|
|
|
|
itemBuilder: (context, index) {
|
|
|
|
|
return Container(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
margin: EdgeInsets.only(left: 21, right: 21,
|
|
|
|
|
),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
boxShadow: [
|
|
|
|
|
BoxShadow(
|
|
|
|
|
color: Colors.grey.withOpacity(0.5),
|
|
|
|
|
spreadRadius: 5,
|
|
|
|
|
blurRadius: 26,
|
|
|
|
|
offset: Offset(0, 3),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
borderRadius: BorderRadius.circular(10.0),
|
|
|
|
|
),
|
|
|
|
|
child: Column(
|
|
|
|
|
return Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Column(
|
|
|
|
|
@ -95,7 +80,7 @@ class _FamilyMembersState extends State<FamilyMembers> {
|
|
|
|
|
children: [
|
|
|
|
|
"${getEmployeeContactsList[index].cONTACTNAME}".toText16(isBold: true, color: MyColors.grey3AColor),
|
|
|
|
|
"${getEmployeeContactsList[index].rELATIONSHIP}".toText11(isBold: true, color: MyColors.textMixColor),
|
|
|
|
|
]).paddingOnly(left: 14, right: 14, top: 13, bottom: 11),
|
|
|
|
|
]),
|
|
|
|
|
const Divider(
|
|
|
|
|
color: Color(0xffEFEFEF),
|
|
|
|
|
thickness: 1,
|
|
|
|
|
@ -126,7 +111,6 @@ class _FamilyMembersState extends State<FamilyMembers> {
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: MyColors.grey67Color,
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
@ -148,7 +132,6 @@ class _FamilyMembersState extends State<FamilyMembers> {
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: MyColors.lightGreyColor,
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
@ -179,7 +162,6 @@ class _FamilyMembersState extends State<FamilyMembers> {
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: MyColors.redColor,
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
@ -187,10 +169,9 @@ class _FamilyMembersState extends State<FamilyMembers> {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
).paddingOnly(left: 14, right: 14),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
).objectContainerView();
|
|
|
|
|
}),
|
|
|
|
|
)
|
|
|
|
|
: Container(),
|
|
|
|
|
|