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> newOptions) {
_changeDetector.markForCheck();
super.options = newOptions;
_updateActiveModel();
_setInitialActiveItem();
_optionsListener?.cancel();
_optionsListener = options.stream.listen((_) {
_changeDetector.markForCheck();
_updateActiveModel();
_setInitialActiveItem();
});
}