right method

void right()

Move right through row values.

Implementation

void right() {
  final vp = verticalPosition;
  if (vp != null) {
    final row = currentRow!;
    final positionInRow = horizontalPosition;
    final numberOfEntries = row.getNumberOfEntries();
    if (positionInRow == null) {
      if (numberOfEntries > 0) {
        _horizontalPositions[vp] = 0;
      }
    } else if (positionInRow == -1) {
      _horizontalPositions[vp] = null;
    } else {
      _horizontalPositions[vp] = min(positionInRow + 1, numberOfEntries - 1);
    }
  }
  showCurrent();
}