PdfTextSelectionParams class

Parameters for text selection.

Annotations

Constructors

PdfTextSelectionParams({bool enabled = true, bool? enableSelectionHandles, bool? showContextMenuAutomatically, PdfViewerTextSelectionAnchorHandleBuilder? buildSelectionHandle, PdfViewerCalcSelectionAnchorHandleOffsetFunction? calcSelectionHandleOffset, PdfViewerTextSelectionChangeCallback? onTextSelectionChange, PdfViewerSelectionHandlePanStartCallback? onSelectionHandlePanStart, PdfViewerSelectionHandlePanUpdateCallback? onSelectionHandlePanUpdate, PdfViewerSelectionHandlePanEndCallback? onSelectionHandlePanEnd, PdfViewerSelectionMagnifierParams? magnifier})
const

Properties

buildSelectionHandle → PdfViewerTextSelectionAnchorHandleBuilder?
Function to build anchor handle for text selection.
final
calcSelectionHandleOffset → PdfViewerCalcSelectionAnchorHandleOffsetFunction?
Optional callback to calculate the offset for the anchor handles.
final
enabled → bool
Whether text selection is enabled.
final
enableSelectionHandles → bool?
Whether to use selection handles or not.
final
hashCode → int
The hash code for this object.
no setteroverride
magnifier → PdfViewerSelectionMagnifierParams?
Parameters for the magnifier.
final
onSelectionHandlePanEnd → PdfViewerSelectionHandlePanEndCallback?
Callback for when a selection handle pan ends.
final
onSelectionHandlePanStart → PdfViewerSelectionHandlePanEndCallback?
Callback for when a selection handle pan starts.
final
onSelectionHandlePanUpdate → PdfViewerSelectionHandlePanUpdateCallback?
Callback for when a selection handle is being panned.
final
onTextSelectionChange → PdfViewerTextSelectionChangeCallback?
Function to be notified when the text selection is changed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showContextMenuAutomatically → bool?
Whether to automatically show context menu on text selection.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override