PdfOutline constructor

PdfOutline(
  1. PdfDocument pdfDocument, {
  2. String? title,
  3. PdfPage? dest,
  4. PdfRect? rect,
  5. String? anchor,
  6. PdfColor? color,
  7. PdfOutlineMode destMode = PdfOutlineMode.fitPage,
  8. PdfOutlineStyle style = PdfOutlineStyle.normal,
  9. PdfPage? page,
})

Constructs a Pdf Outline object. When selected, the specified region is displayed.

Implementation

PdfOutline(
  PdfDocument pdfDocument, {
  this.title,
  this.dest,
  this.rect,
  this.anchor,
  this.color,
  this.destMode = PdfOutlineMode.fitPage,
  this.style = PdfOutlineStyle.normal,
  PdfPage? page,
})  : assert(anchor == null || (dest == null && rect == null)),
      _page = page,
      super(pdfDocument, params: PdfDict());