selectionController property

TableViewSelectionController? selectionController

Implementation

TableViewSelectionController? get selectionController => _selectionController;
void selectionController=(TableViewSelectionController? value)

Implementation

set selectionController(TableViewSelectionController? value) {
  if (_selectionController == value) return;
  if (attached) {
    _disposeSerialTap();
  }
  if (_selectionController != null) {
    if (attached) {
      _selectionController!.detach();
    }
    _selectionController!.removeListener(_handleSelectionChanged);
  }
  _selectionController = value;
  if (_selectionController != null) {
    if (attached) {
      _selectionController!.attach(this);
    }
    _selectionController!.addListener(_handleSelectionChanged);
  }
  if (attached) {
    _initSerialTap();
  }
  markNeedsBuild();
}