|
|
|
|
@ -89,29 +89,32 @@ class _DeleteFamilyMemberState extends State<DeleteFamilyMember> {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
footer() {
|
|
|
|
|
return Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
color: MyColors.gradiantEndColor,
|
|
|
|
|
margin: EdgeInsets.only(bottom: 20, top: 20),
|
|
|
|
|
padding: EdgeInsets.only(left: 50, right: 50),
|
|
|
|
|
child: TextButton(
|
|
|
|
|
style: TextButton.styleFrom(
|
|
|
|
|
primary: MyColors.white,
|
|
|
|
|
onSurface: MyColors.white,
|
|
|
|
|
backgroundColor: MyColors.gradiantEndColor,
|
|
|
|
|
),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
deleteFamilyMember(datePar);
|
|
|
|
|
return Container(
|
|
|
|
|
color: MyColors.white,
|
|
|
|
|
child: Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
color: MyColors.gradiantEndColor,
|
|
|
|
|
margin: EdgeInsets.only(bottom: 20, top: 20),
|
|
|
|
|
padding: EdgeInsets.only(left: 50, right: 50),
|
|
|
|
|
child: TextButton(
|
|
|
|
|
style: TextButton.styleFrom(
|
|
|
|
|
primary: MyColors.white,
|
|
|
|
|
onSurface: MyColors.white,
|
|
|
|
|
backgroundColor: MyColors.gradiantEndColor,
|
|
|
|
|
),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
deleteFamilyMember(datePar);
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
child: Text(
|
|
|
|
|
LocaleKeys.next.tr(),
|
|
|
|
|
style: TextStyle(fontStyle: FontStyle.normal, fontSize: 16, color: Colors.white, fontWeight: FontWeight.w600),
|
|
|
|
|
),
|
|
|
|
|
)),
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
child: Text(
|
|
|
|
|
LocaleKeys.next.tr(),
|
|
|
|
|
style: TextStyle(fontStyle: FontStyle.normal, fontSize: 16, color: Colors.white, fontWeight: FontWeight.w600),
|
|
|
|
|
),
|
|
|
|
|
)),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|