first test with onTap and ID
This commit is contained in:
parent
43aeed4010
commit
e216e9d698
@ -103,7 +103,10 @@ class _MyHomePageState extends State<ListItemMenu> {
|
|||||||
|
|
||||||
return ListTile(
|
return ListTile(
|
||||||
title: Text('${post.name!}'),
|
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) {
|
separatorBuilder: (context, index) {
|
||||||
return Divider();
|
return Divider();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user