jumpToNormalized method
Scrolls so the main-axis scroll position lands at position, a fraction
clamped to 0 (leading edge) … 1 (trailing edge) - what a page-scrubber
thumb drag maps to. Moves along whichever axis the viewer scrolls
(vertical or horizontal continuous). Immediate (no animation), so it
follows a drag frame by frame, and zoom-aware: while zoomed in it spills
into the zoom window exactly like dragging the built-in scrollbar. A
no-op while no viewer is attached.
Implementation
void jumpToNormalized(double position) =>
_state?._scrollToNormalized(position);