Add the button to delete beneficiaries

This commit is contained in:
PapaTutuWawa 2025-05-11 22:55:06 +02:00
parent 1957c0711c
commit 99ab2f006d

View File

@ -18,6 +18,14 @@ class BeneficiaryListPage extends StatelessWidget {
final item = state.beneficiaries[index]; final item = state.beneficiaries[index];
return ListTile( return ListTile(
leading: ImageWrapper(title: item.name, path: item.imagePath), leading: ImageWrapper(title: item.name, path: item.imagePath),
// TODO: Allow deleting beneficiaries
trailing: IconButton(
onPressed: null,
icon: Icon(
Icons.delete,
color: Colors.grey,
),
),
title: Text(item.name), title: Text(item.name),
); );
}, },