notifyDataSourceListeners method

  1. @protected
void notifyDataSourceListeners({
  1. RowColumnIndex? rowColumnIndex,
})
inherited

Calls all the datagrid source listeners. Call this method whenever the underlying data is added or removed. If the value of the specific cell is updated, call this method with RowColumnIndex argument where it refers the corresponding row and column index of the cell.

Implementation

@protected
void notifyDataSourceListeners({RowColumnIndex? rowColumnIndex}) {
  for (final Function listener in _dataGridSourceListeners) {
    listener(rowColumnIndex: rowColumnIndex);
  }
}