nextgen_pdf_editor 1.2.0
nextgen_pdf_editor: ^1.2.0 copied to clipboard
A lightweight, feature-rich PDF editing toolkit for Flutter. Supports text, drawing, image addition, and annotations.
π 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/