diff --git a/lib/dashboard_screen.dart b/lib/dashboard_screen.dart index 40fd0a4..1127986 100644 --- a/lib/dashboard_screen.dart +++ b/lib/dashboard_screen.dart @@ -198,10 +198,23 @@ class _DashboardScreenState extends State { title: Text(e.id, style: const TextStyle( fontWeight: FontWeight.bold)), - trailing: IconButton( - icon: const Icon(Icons.edit), - tooltip: 'Edit', - onPressed: () => _editEntry(e), + trailing: Row( + mainAxisSize: MainAxisSize.min, + children: [ + IconButton( + icon: const Icon(Icons.edit), + tooltip: 'Edit', + onPressed: () => _editEntry(e), + ), + IconButton( + icon: const Icon(Icons.delete), + tooltip: 'Hapus', + onPressed: () { + _touch(); + _deleteEntry(e); + }, + ), + ], ), children: [ Padding(