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.
Enable or disable the document link annotation navigation
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: SfPdfViewer.network(
'https://cdn.syncfusion.com/content/PDFViewer/flutter-succinctly.pdf',
enableDocumentLinkAnnotation: false));
}