showResults method

void showResults (BuildContext context)

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:

Implementation

void showResults(BuildContext context) {
  _focusNode.unfocus();
  _currentBody = _SearchBody.results;
}