left method
void
left()
Move left through row values.
Implementation
void left() {
final vp = verticalPosition;
if (vp != null) {
final row = currentRow!;
final rowActions = row.actions;
final positionInRow = horizontalPosition;
if (positionInRow == null) {
if (rowActions.isNotEmpty) {
_horizontalPositions[vp] = -1;
}
} else if (positionInRow < 0) {
_horizontalPositions[vp] =
max(positionInRow - 1, rowActions.length * -1);
} else if (positionInRow == 0) {
_horizontalPositions[vp] = null;
} else {
_horizontalPositions[vp] = positionInRow - 1;
}
}
showCurrent();
}