π nextgen_pdf_editor
A powerful Flutter PDF editor that enables you to draw, highlight, underline, add text or images, and save changes back to the PDF β all with an intuitive UI. Built on top of Syncfusion's PDF Viewer and PDF libraries, this editor is ideal for creating note-taking, document review, or annotation apps.
β¨ Platform support: Android and iOS only.
β¨ Features
β Add freehand drawings to PDFs
β Insert customizable text boxes
β Highlight and underline text with ease
β Insert and resize images on PDF pages
β Interactive dragging, resizing, and rotating of elements
β Page-wise undo/redo history for all changes
β Save your edits back to a new PDF file
β Seamless integration with syncfusion_flutter_pdfviewer
π Getting Started π¦ Installation Add this to your pubspec.yaml:
dependencies: nextgen_pdf_editor: ^0.0.1
Then run: flutter pub get
π Usage Here's a working example:
Future<void> _editPDF() async {
if (_pdfFile == null) return;
setState(() => _isLoading = true);
File? editedFile = await NGPdf.openEditor(context, _pdfFile!);
setState(() {
_pdfFile = editedFile;
_isLoading = false;
});
}
Author
π¨βπ» Asint Inc
π§ linkedIn: https://www.linkedin.com/company/asint
π Website: https://asint.net/
Libraries
- components/color_picker
- components/text_editing_box
- controllers/annotation_controller
- controllers/drawing_controller
- controllers/highlight_controller
- controllers/image_controller
- controllers/save_pdf_controller
- controllers/save_pdf_second_thread
- controllers/temp
- controllers/text_box_controller
- controllers/underline_controller
- nextgen_pdf_edit_screen
- nextgen_pdf_editor