loadLinks abstract method

Future<List<PdfLink>> loadLinks({
  1. bool compact = false,
  2. bool enableAutoLinkDetection = true,
})

Load links.

If compact is true, it tries to reduce memory usage by compacting the link data. See PdfLink.compact for more info.

If enableAutoLinkDetection is true, the function tries to detect Web links automatically. This is useful if the PDF file contains text that looks like Web links but not defined as links in the PDF. The default is true.

If the page is not loaded yet (progressive loading case only), this function returns an empty list.

Implementation

Future<List<PdfLink>> loadLinks({bool compact = false, bool enableAutoLinkDetection = true});