custom_pdf_editor 0.1.0
custom_pdf_editor: ^0.1.0 copied to clipboard
Flutter PDF viewer and on-canvas text editor for iOS (native PDFKit), plus PDF↔Word conversion. Requires a companion self-hosted backend (included in server/).
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 - 2026-07-10 #
Added #
Core Features
- Initial release of Custom PDF Editor plugin (iOS only)
- PDF viewing with zoom, pan, and navigation controls
- High-performance rendering using native PDFKit (iOS)
- On-canvas text editing (
AdvancedPdfEditorWidget): tap a line to edit it in place with the original font/size/colour; shrink-to-fit prevents overlap; edits are batched and applied in one backend call on save - PDF ↔ Word conversion (
PdfConversionService) - PDF compression (
PdfCompressionService) with low/medium/high levels - Paragraph editor (
ParagraphEditorWidget, beta): Acrobat-style block mode — drag/resize paragraphs, edit text, and change size/colour/bold/italic/alignment, baked with reflow via the backendinsert_htmlbox - Comprehensive PdfController for managing PDF operations
- Platform view integration for seamless Flutter embedding
Configuration
backendUrlis required onAdvancedPdfEditorWidget/DocxEditorWidgetandbaseUrlon the services — point them at your own self-hosted backend (server/). No backend URL is bundled.
iOS Features (PDFKit)
- Full PDF viewer implementation with PDFView
- Thumbnail navigation panel
- Text search with highlighting
- Page navigation (previous/next, go to page)
- Zoom controls with configurable min/max
- Dark mode support
- Toolbar with customizable tools
Annotation System
- Highlight annotations with customizable colors
- Ink/drawing annotations with PencilKit integration
- Shape annotations (squares, circles)
- Free text notes
- Stamps and signatures support
- Customizable annotation properties (color, opacity, border width)
- Add, remove, and update annotations
Text Editing
- Add text anywhere on PDF pages
- Custom text styling (font, size, color)
- Text alignment (left, center, right, justified)
- Bold and italic styles
Image Handling
- Insert images at any position
- Image resizing and positioning
- Support for common image formats
Document Management
- Load PDF from file path or bytes
- Save PDF to file or get as bytes
- Password-protected PDF support
- Document metadata extraction
Page Operations
- Delete and rotate pages
Platform Support #
- ✅ iOS 12.0+
- ❌ Android — not yet implemented
[Unreleased] #
Planned #
- Enhanced Android implementation
- Web and desktop support
- OCR and redaction tools
- Digital signatures
- Form builder UI