Flatten PDF forms in Flutter
Nutrient Flutter SDK enables you to create a new document with flattened forms. In a document with flattened forms, the form fields and their contents remain visible, but users can’t edit them.
The following example flattens forms using the static Nutrient.processAnnotations operation:
await Nutrient.processAnnotations( sourcePath: 'PDFs/form.pdf', type: AnnotationType.all, mode: AnnotationProcessingMode.flatten, destinationPath: 'PDFs/flattened-form.pdf',);For more details about using the Nutrient.processAnnotations() operation, refer to the processing annotations guide.