highlightItem method

void highlightItem(
  1. String value
)

Highlight the item with the given value

Implementation

void highlightItem(String value) {
  /// Highlight the item that has the given string `value`.
  /// If the overlay is not open, this will open it and then highlight the item.
  _state?._setHighlightForValue(value);
}