locked property

bool get locked

Implementation

bool get locked => _locked;
set locked (bool locked)

When set to true, prevents the model from being updated.

Implementation

set locked(bool locked) {
  _locked = locked;
  _lockChangedListeners
      .forEach((listener) => listener(SelectionModel.fromOther(this)));
}