addCellOperationsListener method

void addCellOperationsListener(
  1. ValueChanged<List<CellOperation<SwayzeCellData>>> listener
)

Add a listener that receives the last performed operations that triggered the update.

Implementation

void addCellOperationsListener(ValueChanged<List<CellOperation>> listener) {
  void cellsOperationsListener() {
    listener(_lastPerformedOperations);
  }

  _cellOperationsListeners[listener] = cellsOperationsListener;
  super.addListener(cellsOperationsListener);
}