nutrient_flutter_platform_interface
A common platform interface for the nutrient_flutter plugin.
2.0.0
8.8K downloads/mo
#3097 most downloaded on pub.dev
PSPDFKit/pspdfkit-flutter
What this package is like to depend on
Last release 26 days ago
29 Jul 2026
Ships on a steady schedule
a new release about every 2 months
Nearly every release is documented
notes for 4 of 4 stable releases
Nothing withdrawn
no release was ever pulled
6 months old
4 releases · first in 2026
4 releases in the last 12 months
see the full history below
Release timeline
4 releases · Feb 2026 to Jul 2026Releases
latest 4-
2.0.029 Jul 2026Release notes
Open source →- First pub.dev published version. (#28157)
- Updates the minimum required Flutter SDK version to 1.12.0. (#28157)
Release notes
Open source →Changed
First pub.dev published version. ( #28157 )
Changed
Updates the minimum required Flutter SDK version to 1.12.0. ( #28157 )
Release notes
Open source →- BREAKING:
AnnotationProperties.strokeColorandAnnotationProperties.fillColorare nowint?(ARGB, e.g.0xFFFF0000) instead ofString?(hex, e.g."#FF0000"). This aligns the platform-interface type with how its own extensions and the web layer already handled colors. Migration: replace hex strings with their ARGB equivalent, e.g.Colors.red.toARGB32()or a literal like0xFFFF0000. (J#HYB-951) - Extends
DocumentSaveOptionswith thepermissions,pdfVersion,includeComments,outputFormat, andoptimizefields. AddsDocumentPermissionsandPdfVersionenums. (J#HYB-951) - Adds
AnnotationToolenum soNutrientControllerInterfacecan express the annotation-creation tool without depending on pigeon-generated code. (J#HYB-952) - Adds seven view-scoped methods to
NutrientControllerInterface:getVisibleRect,zoomToRect,getZoomScale,enterAnnotationCreationMode,exitAnnotationCreationMode,convertViewPointToPdfPoint,convertPdfPointToViewPoint. The baseNutrientControllerclass throwsUnimplementedErrorfor each; the Android, iOS, and Web platform packages all override these. (J#HYB-952) - Adds a unified typed event stream to
NutrientControllerInterface:Stream<NutrientEvent> get events.NutrientEventis a sealed class hierarchy covering 17 cross-platform events (document load/error/save, page change/click, annotation create/update/delete/select/deselect, text selection, form-field update, Instant sync/auth). TheNutrientEventStreamXextension provides typed filter getters (events.pageChanged,events.annotationCreated, etc.) so consumers can subscribe to a specific event type without writing pattern matches by hand. (J#HYB-957) - Adds
emitEvent(NutrientEvent)as a@protectedhelper on the baseNutrientControllerfor platform adapters to push into the shared stream;dispose()closes the stream. (J#HYB-957)
-
1.2.022 Jun 2026Release notes
Open source →- Adds the
aiAssistantConfigurationfield toNutrientViewConfiguration. - Adds
enableInstantCommentsfield toNutrientViewConfiguration.
- Adds the
-
1.1.009 Apr 2026Release notes
Open source →- Adds
NutrientViewConfiguration, a typed cross-platform viewer configuration withIOSViewConfiguration,AndroidViewConfiguration, shared enums (PageLayoutMode,ThumbnailBarMode,SpreadFitting, etc.), and aPdfConfigurationBuilderinterface. ReplacesNutrientInstantConfiguration. (J#HYB-988)
- Adds
-
1.0.013 Feb 2026Release notes
Open source →- Initial release as standalone pub.dev package.
- Provides common platform interface for federated plugin architecture.
- Defines abstract APIs for native SDK integration across Android, iOS, and Web platforms.
- Enables extending
nutrient_flutterwith native bindings through platform adapters.