updateCurrentOptions method

void updateCurrentOptions(
  1. List<String> options
)

Update current options for keyboard navigation

Implementation

void updateCurrentOptions(List<String> options) {
  _currentOptions.value = options;
  // 重置高亮索引
  _highlightedIndex.value = -1;
  _highlightedOption.value = null;
}