expandSuggestions method

void expandSuggestions({
  1. Widget? selectorWidget,
  2. bool expanded = true,
})

Expands the suggestions list in the dropdown.

Implementation

void expandSuggestions({Widget? selectorWidget, bool expanded = true}) {
  suggestionsExpanded = true;
  if (selectorWidget != null) {
    _showOverlay(selectorWidget, expanded);
  }
  notifyListeners();
}