PdfReflowBackend class abstract

Drives a PdfViewer and reports its state: current page, zoom, and search results. Listeners fire on any change. The subset of viewer navigation a text reading view (PdfReflowView) implements so the shared PdfViewerController can drive it - page jumps, the visible-region indicator, and saved-position capture/restore - while no page PdfViewer is mounted.

Internal wiring: a mounted PdfViewer always takes precedence, so the controller only consults a reflow backend in the text reflow view where there is no page canvas. Not part of the stable public API.

Constructors

PdfReflowBackend()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reflowCaptureViewport() PdfViewport?
The reading view's scroll position as a resolution-independent snapshot (page at the top plus the fraction scrolled into it), or null before it has laid out.
reflowJumpToPage(int index) → void
Scrolls the reading view so page index is at the top.
reflowRestoreViewport(PdfViewport viewport) → void
Restores a reflowCaptureViewport snapshot (applied once laid out).
reflowVisibleFraction(int index) Rect?
The visible part of page index as page-area fractions (0–1, y-down), or null when the page is off-screen - feeds the thumbnail strip's viewport indicator.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited