pdf_acroform 0.3.0
pdf_acroform: ^0.3.0 copied to clipboard
A Dart/Flutter package to parse PDF AcroForm fields and display interactive form overlays. Extract metadata and render editable fields.
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.3.0 - 2026-01-26 #
Added #
- Auto-scroll to focused text field when tapped
PdfFormStyleclass for comprehensive form field styling customizationPdfFormStyle.fromTheme()factory to match form fields with your app's theme- Customizable properties: border radius, colors, text styles, cursor and selection colors
checkColorandcheckedFillColorfor checkbox appearance customizationbackgroundColorparameter onPdfFormViewerto customize viewer backgroundpageDropShadowparameter onPdfFormViewerto customize page shadow
Changed #
- Form fields now use explicit styles independent of app theme by default
Known Limitations #
- Auto-scroll may not fully account for keyboard height when field is at the bottom of the page
Documentation #
- Added troubleshooting section for scroll issues with keyboard
- Documented
PdfFormStyleusage and all available properties
0.2.1 - 2026-01-26 #
Changed #
- Read-only fields now display with a grey background for better visual feedback
0.2.0 - 2026-01-26 #
Added #
readOnlyFieldsparameter onPdfFormViewerto dynamically mark fields as read-only
0.1.0 - 2026-01-26 #
Added #
- Initial release
AcroFormParserfor extracting form fields from PDF documents- Support for field types: text, button (checkbox), choice (dropdown), signature
- Field properties: multiline, read-only, max length, text alignment, options
PdfFormFieldmodel with JSON serializationPdfRectmodel for field positioning- Extension methods:
extractFormData(),forPage(),ofType() PdfFormViewerFlutter widget for displaying PDF with form overlays- Interactive field widgets: text input, checkbox, dropdown
- Zoom controls for PDF viewer
- Example application
- Unit tests for models