setCurrentCellPosition method
void
setCurrentCellPosition(
- PlutoGridCellPosition? cellPosition, {
- bool notify = true,
inherited
Implementation
@override
void setCurrentCellPosition(
PlutoGridCellPosition? cellPosition, {
bool notify = true,
}) {
if (currentCellPosition == cellPosition) {
return;
}
if (cellPosition == null) {
clearCurrentCell(notify: false);
} else if (isInvalidCellPosition(cellPosition)) {
return;
}
_state._currentCellPosition = cellPosition;
notifyListeners(notify, setCurrentCellPosition.hashCode);
}