add title - subtile in list

This commit is contained in:
Valentin CZERYBA 2024-11-16 21:35:16 +01:00
parent 79f457eec1
commit 9146fd02e4

View File

@ -385,7 +385,8 @@ class _UpdateeventImageState extends State<UpdateeventImage>
itemCount: suggestions.length,
itemBuilder: (context, index) {
return ListTile(
title: Text(suggestions[index]['place_name']),
title: Text(suggestions[index]['text']),
subtitle: Text(suggestions[index]['place_name']),
onTap: () async {
print("suggestion tapped : ${suggestions[index]}");
final latitude =