Code Formatted
This commit is contained in:
@@ -22,7 +22,9 @@ class BeneficiaryDetailsScreen extends StatelessWidget {
|
||||
_showSuccessDialog(context);
|
||||
} catch (e) {
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(content: Text('${AppLocalizations.of(context).failedToDeleteBeneficiary} : $e')),
|
||||
SnackBar(
|
||||
content: Text(
|
||||
'${AppLocalizations.of(context).failedToDeleteBeneficiary} : $e')),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -33,7 +35,8 @@ class BeneficiaryDetailsScreen extends StatelessWidget {
|
||||
builder: (BuildContext context) {
|
||||
return AlertDialog(
|
||||
title: Text(AppLocalizations.of(context).success),
|
||||
content: Text(AppLocalizations.of(context).beneficiaryDeletedSuccessfully),
|
||||
content:
|
||||
Text(AppLocalizations.of(context).beneficiaryDeletedSuccessfully),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
child: Text(AppLocalizations.of(context).ok),
|
||||
@@ -53,8 +56,8 @@ class BeneficiaryDetailsScreen extends StatelessWidget {
|
||||
builder: (BuildContext context) {
|
||||
return AlertDialog(
|
||||
title: Text(AppLocalizations.of(context).deleteBeneficiary),
|
||||
content:
|
||||
Text(AppLocalizations.of(context).areYouSureYouWantToDeleteThisBeneficiary),
|
||||
content: Text(AppLocalizations.of(context)
|
||||
.areYouSureYouWantToDeleteThisBeneficiary),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
child: Text(AppLocalizations.of(context).cancel),
|
||||
|
||||
Reference in New Issue
Block a user