options property
The available options for this container.
Implementation
SelectionOptions<T> options = SelectionOptions.fromList(<T>[]);
The available options for this container.
Implementation
@override
set options(SelectionOptions<T>? options) {
//if (options == null) return;
var localOptions = options ?? SelectionOptions.fromList([]);
super.options = localOptions;
activeModel.items = localOptions.optionsList;
_optionsListener?.cancel();
_optionsListener = localOptions.stream.listen((_) {
activeModel.items = localOptions.optionsList;
_updateItemActivation();
_changeDetector.markForCheck();
});
if (!_filterScheduled) {
_filterSuggestions();
}
}