Document link annotation in Flutter PDF Viewer (SfPdfViewer)

5 May 2021 / 1 minute to read

By default, the SfPdfViewer allows you to navigate to the desired topic or position by tapping its document link annotation in the table of contents in a PDF document.

You can enable or disable the navigation of document link annotation using the enableDocumentLinkAnnotation property. The following code example explains the same.

@override
Widget build(BuildContext context) {
  return Scaffold(
      body: Container(
          child: SfPdfViewer.network(
              'https://cdn.syncfusion.com/content/PDFViewer/flutter-succinctly.pdf',
              enableDocumentLinkAnnotation: false)));
}