PdfDestinationPageNumberField constructor Null safety

PdfDestinationPageNumberField(
  1. {PdfPage? page,
  2. PdfFont? font,
  3. PdfBrush? brush,
  4. Rect? bounds}
)

Initializes a new instance of the PdfDestinationPageNumberField class may include with PdfFont, PdfBrush and Rect.

Implementation

PdfDestinationPageNumberField(
    {PdfPage? page, PdfFont? font, PdfBrush? brush, Rect? bounds})
    : super(font: font, brush: brush, bounds: bounds) {
  if (page != null) {
    this.page = page;
  }
}