windowRight property Null safety

NormalOperation windowRight
final

Shown as blue "<" on the keyboard - it shifts the number left, which means the window shifts right.

Implementation

static final NormalOperation windowRight = NormalOperation.intOnly(
    stackLift: StackLift.neutral,
    intCalc: (Model m) {
      if (m.display.window > 0) {
        m.display.window = m.display.window - 1;
      }
    },
    name: '<');