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.
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.