PdfLinkTarget class
Where a hyperlink created by the link tool points: either an external
PdfLinkTarget.uri (a web address, mailto:, or app scheme) or an
in-document jump to a PdfLinkTarget.page (a whole-page fit) or a more
specific PdfLinkTarget.destination (a position, zoom, or rectangle).
Consumed by PdfEditingController.addLink and PdfEditingController.addLinkToSelection; produced by the Add-link dialog (showPdfAddLinkDialog).
Constructors
- PdfLinkTarget.destination(PdfExplicitDestination destination)
-
An internal link to an explicit
destination(a specific view).const - PdfLinkTarget.page(int page)
-
An internal link to the top of
page(zero-based), fit to the window.const - PdfLinkTarget.uri(String uri)
-
An external link to
uri.const
Properties
- destination → PdfExplicitDestination?
-
The explicit destination for a precise internal link, or null.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isExternal → bool
-
Whether this points outside the document (a uri).
no setter
- page → int?
-
The zero-based target page for a whole-page internal link, or null.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → String?
-
The external URI, or null for an internal link.
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.
inherited