PdfGestureDetails class
Holds the details for the SfPdfViewer.onTap callback, such as pageNumber, position and pagePosition.
Constructors
- PdfGestureDetails(int _pageNumber, Offset _position, Offset _pagePosition)
- Creates details for SfPdfViewer.onTap callback.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pageNumber → int
-
Returns the number of the page on which the tap occurred.
no setter
- pagePosition → Offset
-
Returns the tapped position in the PDF page coordinates which have their origin at the top left corner of the page.
no setter
- position → Offset
-
Returns the tapped position on the SfPdfViewer. The coordinate space starts at the top-left of the SfPdfViewer widget.
no setter
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited