getDropDownController method

PlexWidgetController<T?> getDropDownController()

Implementation

PlexWidgetController<T?> getDropDownController() {
  _dropdownSelectionController ??= (dropdownSelectionController ?? PlexWidgetController<T?>());
  if (!_initialized && initialSelection != null) {
    _dropdownSelectionController!.setValue(initialSelection);
    _initialized = true;
  }
  return _dropdownSelectionController!;
}