showResults method
Transition from the suggestions returned by buildSuggestions to the query results returned by buildResults.
If the user taps on a suggestion provided by buildSuggestions the screen should typically transition to the page showing the search results for the suggested query. This transition can be triggered by calling this method.
See also:
- showSuggestions to show the search suggestions again.
Implementation
void showResults(BuildContext context) {
_focusNode.unfocus();
_currentBody = _SearchBody.results;
}