first test with onTap and ID

This commit is contained in:
Valentin CZERYBA 2024-06-29 00:17:22 +02:00
parent 43aeed4010
commit e216e9d698

View File

@ -103,7 +103,10 @@ class _MyHomePageState extends State<ListItemMenu> {
return ListTile(
title: Text('${post.name!}'),
subtitle: Text('${post.place!}\n${date} ${time}'));
subtitle: Text('${post.place!}\n${date} ${time}'),
onTap: () {
print("${post.id!}");
});
},
separatorBuilder: (context, index) {
return Divider();