notifySelectionChange method
void
notifySelectionChange({})
override
Schedules a SelectionChangeRecord.
Implementation
@override
void notifySelectionChange(
{Iterable<T> added = const [], Iterable<T> removed = const []}) {
if (hasSelectionObservers) {
var record = SelectionChangeRecord<T>(added: added, removed: removed);
if (_selectionChangeRecords == null) {
_selectionChangeRecords = [];
scheduleMicrotask(deliverSelectionChanges);
}
_selectionChangeRecords!.add(record);
}
}