selectionChanges property
A stream that returns changes to selected elements.
Implementation
@override
Stream<List<SelectionChangeRecord<T>>> get selectionChanges {
if (_selectionChangeController == null) {
_selectionChangeController =
StreamController<List<SelectionChangeRecord<T>>>.broadcast(
sync: true);
}
return _selectionChangeController!.stream;
}