selectionModel property

SelectionModel<T> get selectionModel

Implementation

SelectionModel<T> get selectionModel => _selectionModel;
  1. @Input()
set selectionModel (SelectionModel<T> model)

The selection model this component controls.

Implementation

@Input()
set selectionModel(SelectionModel<T> model) {
  _selectionModel = model;
  _disposer
    ..dispose()
    ..addDisposable(_selectionModel.selectionChanges.listen((_) {
      _changeDetector.markForCheck();
    }));
}