Document link annotation in Flutter PDF Viewer (SfPdfViewer)

8 Jun 20221 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.

Widget build(BuildContext context) {
  return Scaffold(
              enableDocumentLinkAnnotation: false));