Disable Annotation Editing in Flutter

PSPDFKit for Flutter allows you to create, edit, or delete annotations in a document.

To disable annotation editing for your document, you can set the enableAnnotationEditing configuration option to false, like this:

// First copy the document from assets to the temporary directory.
await Pspdfkit.present(document.path, {
    enableAnnotationEditing: false
});