flutter_pdf_toolkit 0.0.1
flutter_pdf_toolkit: ^0.0.1 copied to clipboard
Native PDF toolkit for Flutter (Android & iOS): view, search, sign, reorder, add/delete pages, insert images, merge, split, password-protect, thumbnails, zoom & dark mode.
0.0.1 #
- TODO: Describe initial release.
- Added natively-rendered page thumbnails:
controller.getPageThumbnail()and a real thumbnail grid (replacing the placeholder "Page N" labels) on both Android and iOS. - Added double-tap-to-zoom on iOS (toggles between default and 2x zoom, centered on the tap point), matching the existing Android behavior.
- Added
FlutterPdfPro.splitPdf()to split a PDF into multiple files by page range, andFlutterPdfPro.getPdfPageCount()to read a PDF's page count, both implemented natively on Android (pdfbox-android) and iOS (PDFKit). - Added PDF signing support: a new "Sign document" toolbar action
(
showSignature,onSigned) lets users draw a signature, position/resize it over the current page, and stamp it onto the document via the newFlutterPdfPro.signPdf()method (implemented natively withpdfbox-androidon Android andCoreGraphicson iOS). Also exports a reusableSignaturePad/SignaturePadControllerfor building custom signature-capture UIs. - Added page reordering support: a new "Reorder pages" toolbar action
(
showReorder,onPagesReordered) lets users drag page thumbnails into a new order and save the rearranged PDF via the newFlutterPdfPro.reorderPages()method (implemented natively withpdfbox-androidon Android andPDFKiton iOS). - Added a built-in "Add pages" toolbar action (
showAddPages,onAddPagesRequested,onPagesAdded) that lets users pick where to insert new pages from a page-thumbnail grid, then hands off to the host app to supply one or more PDF/image file paths to insert. Backed by two new static methods:FlutterPdfPro.imagesToPdf(), which converts images into a PDF (one page per image, implemented natively withpdfbox-androidon Android andCoreGraphicson iOS), andFlutterPdfPro.insertPages(), which inserts another PDF's pages at a given position. - Added a built-in "Add image" toolbar action (
showAddImage,onAddImageRequested,onImageAdded) that lets the host app supply an image (e.g. from an image picker), then position and resize it over the current page before stamping it onto the document via the newFlutterPdfPro.addImageToPdf()method (implemented natively withpdfbox-androidon Android andCoreGraphicson iOS).
