photo_view_plus 1.1.1
photo_view_plus: ^1.1.1 copied to clipboard
Photo View provides a gesture sensitive zoomable widget. Photo View is largely used to show interactive images and other stuff such as SVG.
1.1.0 24 Apr 2026 #
- docs
[Changes][1.1.1]
1.1.0 - 16 Apr 2026 #
Added #
disableDoubleTapinPhotoViewOptionsto disable only the internal double-tap scale cycle- new gesture callbacks:
onLongPress,onScaleStart, andonScaleUpdate childWrapperinPhotoViewOptions,PhotoViewGalleryOptions, andPhotoViewGalleryPageOptionsPhotoViewComputedScale.containedNoScaleUpfor contained fit without stretching smaller content- desktop/web pointer support with mouse-wheel pan,
Ctrl + scrollzoom-to-cursor, trackpad pan/zoom, and contextual mouse cursors
Changed #
- updated README, README-pt, and the gallery example to cover the new interaction and wrapping APIs
- expanded widget and scale test coverage for the new gestures, wrappers, and scale mode
Fixed #
- pinch + pan now keeps the touched content anchored correctly during simultaneous scale and translation
- image stream resolution now ignores stale callbacks more defensively and avoids null-related rebuild failures
- hero transitions remain more stable when the destination enters loading or error states
[Changes][1.1.0]
1.0.0 16 Apr 2026 #
Added #
- Typed scale API with
PhotoViewScale.fixed(...)andPhotoViewComputedScale.* PhotoViewOptionsandPhotoViewGalleryOptionsfor consolidated widget and gallery configurationPhotoViewInteractionPolicyfor customizable clamp, gesture-end, and dynamicfilterQualitybehavior- Rich customization hooks with
overlayBuilder,backgroundBuilder,loadingStateBuilder, anderrorStateBuilder - Gallery page preloading, configurable page retention, and page option caching
- New transformation/layout test coverage and widget tests for key interactive flows
Changed #
- Raised the minimum supported SDKs to Flutter
>=3.14.5and Dart>=3.1.0 - Reorganized internals into
ui/,domain/,data/,core/, andshared/ - Updated README and example app to document and demonstrate the modernized API
Fixed #
- Rebound external controllers correctly when widgets update
- Hardened the image stream lifecycle to avoid stale listeners and null-related failures
- Preserved image frame state correctly in wrappers and aligned gallery/page interaction behavior with the new options model
Breaking #
minScale,maxScale, andinitialScalenow usePhotoViewScaleinstead of loosely typed values- The supported Flutter/Dart baseline now requires Flutter 3.14.5+ and Dart 3.1+
[Changes][1.0.0]