DEV Community

Discussion on: Search Bar in flutter

Collapse
 
luizeduardotj profile image
Luiz Eduardo

Hey... First of all, glad to know the article was helpful.

In this case, you'll need a data list to provider for Widget buildSuggestion() method generates the suggestions. With the list you can use ListView.builder() to generate ListTile, and in the onTap attribute, navigate to detail page passing the object as parameter.

I hope helped. If don't work or if i wasn't clear in the answer, please reply this answer.