PackageTrack
Sign in Get early access

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 2026
Release Pre-release

Releases

latest 4
  1. 2.0.0 29 Jul 2026
    Release notes
    • First pub.dev published version. (#28157)
    • Updates the minimum required Flutter SDK version to 1.12.0. (#28157)
    Open source →
    Release notes

    Changed

    First pub.dev published version. ( #28157 )

    Changed

    Updates the minimum required Flutter SDK version to 1.12.0. ( #28157 )

    Open source →
    Release notes
    • BREAKING: AnnotationProperties.strokeColor and AnnotationProperties.fillColor are now int? (ARGB, e.g. 0xFFFF0000) instead of String? (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 like 0xFFFF0000. (J#HYB-951)
    • Extends DocumentSaveOptions with the permissions, pdfVersion, includeComments, outputFormat, and optimize fields. Adds DocumentPermissions and PdfVersion enums. (J#HYB-951)
    • Adds AnnotationTool enum so NutrientControllerInterface can 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 base NutrientController class throws UnimplementedError for 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. NutrientEvent is 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). The NutrientEventStreamX extension 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 @protected helper on the base NutrientController for platform adapters to push into the shared stream; dispose() closes the stream. (J#HYB-957)
    Open source →
  2. 1.2.0 22 Jun 2026
    Release notes
    • Adds the aiAssistantConfiguration field to NutrientViewConfiguration.
    • Adds enableInstantComments field to NutrientViewConfiguration.
    Open source →
  3. 1.1.0 09 Apr 2026
    Release notes
    • Adds NutrientViewConfiguration, a typed cross-platform viewer configuration with IOSViewConfiguration, AndroidViewConfiguration, shared enums (PageLayoutMode, ThumbnailBarMode, SpreadFitting, etc.), and a PdfConfigurationBuilder interface. Replaces NutrientInstantConfiguration. (J#HYB-988)
    Open source →
  4. 1.0.0 13 Feb 2026
    Release notes
    • 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_flutter with native bindings through platform adapters.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive