slide method
Slides the active track to the given offset
on the min
edge, in logical pixels.
The delta is relative to the origin defined by FSlider.layout.
Implementation
void slide(double offset, {required bool min}) {
if (allowedInteraction == FSliderInteraction.tap) {
return;
}
assert(min ? extendable.min : extendable.max, 'Slider is not extendable at the ${min ? 'min' : 'max'} edge.');
if (_selection case final selection?) {
this.selection = selection.move(min: min, to: offset);
}
}