step method

void step({
  1. required bool min,
  2. required bool extend,
})

Moves the active track on the min edge to the previous/next step.

Implementation

void step({required bool min, required bool extend}) {
  if (_selection case final selection?) {
    this.selection = selection.step(min: min, extend: extend);
  }
}