sacend ..how can coustom this code for my app in which make the search suggestions is my listview and when clicked the search result from search box navigator to dateiles of my listview
that's clicked
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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
fristaly I wan thank you ..
sacend ..how can coustom this code for my app in which make the search suggestions is my listview and when clicked the search result from search box navigator to dateiles of my listview
that's clicked
please help my
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 useListView.builder()
to generateListTile
, and in theonTap
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.