PdfTextWebLink class Null safety

Represents the class for text web link annotation.

//Create a new Pdf document
PdfDocument document = PdfDocument();
//Create and draw the web link in the PDF page
        url: 'www.google.co.in',
        text: 'google',
        font: PdfStandardFont(PdfFontFamily.timesRoman, 14),
        brush: PdfSolidBrush(PdfColor(0, 0, 0)),
        pen: PdfPens.brown,
        format: PdfStringFormat(
            alignment: PdfTextAlignment.center,
            lineAlignment: PdfVerticalAlignment.middle))
    .draw(document.pages.add(), Offset(50, 40));
//Save the document.
List<int> bytes = document.save();
//Dispose the document.


Initializes a new instance of the PdfTextWebLink class. [...]


appearance PdfAppearance
Gets appearance of the annotation.
read / write, inherited
author String
Gets the author of the annotation.
read / write, inherited
border PdfAnnotationBorder
Gets annotation's border properties like width, horizontal radius etc.
read / write, inherited
bounds Rect
Gets annotation's bounds in the PDF page.
read / write, inherited
brush PdfBrush?
Get or sets the brush. [...]
read / write
color PdfColor
Gets the annotation color.
read / write, inherited
font PdfFont?
Get or sets the font. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
innerColor PdfColor
Gets the inner color of the annotation.
read / write, inherited
modifiedDate DateTime?
Gets the ModifiedDate of the annotation.
read / write, inherited
opacity double
Gets the opacity of the annotation.
read / write, inherited
page PdfPage?
Gets a page of the annotation. Read-Only.
read-only, inherited
pen PdfPen?
Get or sets the pen. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
setAppearance bool
Gets or sets whether the annotation needs appearance.
read / write, inherited
stringFormat PdfStringFormat?
Get or sets the stringFormat. [...]
read / write
subject String
Gets the subject of the annotation.
read / write, inherited
text String
Gets content of the annotation. The string value specifies the text of the annotation.
read / write, inherited
url String
Gets or sets the Uri address. [...]
read / write


draw(PdfPage page, Offset location) → void
Draws a text web link on the PDF page. [...]
flatten() → void
Flatten the annotation. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]