PdfViewerScrollInteractionDelegate class abstract
The "Brain" for handling desktop-style pointer interactions (Mouse Wheel, Trackpad).
This delegate decouples the Intent (e.g., "User wants to pan 50 pixels") from the Execution (e.g., "Jump immediately" vs "Animate with friction").
Lifecycle:
Constructors
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
-
dispose(
) → void - Called when the delegate is being destroyed. Implementations should dispose of any Tickers or listeners here.
-
init(
PdfViewerController controller, TickerProvider vsync) → void - Called when the PdfViewer is ready.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pan(
Offset delta, PdfViewerLayoutMetrics layoutMetrics) → void - Request a pan (scroll) operation.
-
stop(
) → void - Called when the user initiates a competing interaction (e.g., Touch Pan, Pinch Zoom).
-
toString(
) → String -
A string representation of this object.
inherited
-
zoom(
double scale, Offset focalPoint, PdfViewerLayoutMetrics layoutMetrics) → void - Request a zoom operation.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited