Document Link Annotation in Flutter PDF Viewer (SfPdfViewer)
10 Jul 20261 minute to read
By default, the SfPdfViewer allows you to navigate to a specific topic or position within a PDF document by tapping a document link annotation.
Enable or Disable the Document Link Annotation Navigation
You can enable or disable the navigation of document link annotations using the enableDocumentLinkAnnotation property. The default value of this property is true. The following code example explains how to disable the document link annotation navigation.
@override
Widget build(BuildContext context) {
return Scaffold(
body: SfPdfViewer.network(
'https://cdn.syncfusion.com/content/PDFViewer/flutter-succinctly.pdf',
enableDocumentLinkAnnotation: false));
}