add title - subtile in list
This commit is contained in:
parent
79f457eec1
commit
9146fd02e4
@ -385,7 +385,8 @@ class _UpdateeventImageState extends State<UpdateeventImage>
|
|||||||
itemCount: suggestions.length,
|
itemCount: suggestions.length,
|
||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
return ListTile(
|
return ListTile(
|
||||||
title: Text(suggestions[index]['place_name']),
|
title: Text(suggestions[index]['text']),
|
||||||
|
subtitle: Text(suggestions[index]['place_name']),
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
print("suggestion tapped : ${suggestions[index]}");
|
print("suggestion tapped : ${suggestions[index]}");
|
||||||
final latitude =
|
final latitude =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user