updateQuery method

void updateQuery(
  1. String value
)

Updates the query and selects the highest-ranked result.

Implementation

void updateQuery(String value) {
  query = value;
  _invalidateFilter();
  selectedIndex = 0;
}