step method

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

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

Implementation

void step({required bool min, required bool expand}) {
  if (_value case final value?) {
    this.value = value.step(min: min, expand: expand);
  }
}