pinch_zoom_release_unzoom
2.0.0, released 2 years ago by turingdeal.com
A widget that provides Instagram-like pinch-to-zoom that resets size when released.
What it does
It wraps any widget or image in an interactive viewer enabling pinch-to-zoom over the screen. Once the interaction ends, it smoothly animates the widget back to its original size.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want Instagram-like photo zoom behavior in your Flutter app.
- You need a pinch-to-zoom experience that automatically resets after release.
Skip it when
- You need persistent zooming where the widget stays zoomed in after the user lets go.
- You require complex map or pan-and-scan functionalities that do not reset.
Strengths
- Provides a smooth return-to-original-size animation upon release.
- Supports custom parameters like minScale, maxScale, overlay colors, and touch gesture restrictions.
Weaknesses
- Requires manual gesture coordination when nested inside scrollable widgets.
- Not documented for standalone persistent zoom requirements.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
PinchZoomReleaseUnzoomWidget(
child: Image.network(
'https://storage.googleapis.com/cms-storage-bucket/70760bf1e88b184bb1bc.png'
),
)Alternatives
Packages that do the same job and could replace pinch_zoom_release_unzoom.
- pinch_zoom
Widget that adds pinch‑to‑zoom with automatic reset on release for images or video.
60Compare - zoom_pinch_overlay
An Instagram-style pinch and zoom widget that appears globally via an OverlayEntry.
50Compare - measure_size_builder
A widget that measures the rendering size of its child dynamically.
44Compare - zoom_widget
A Flutter widget to create a customizable canvas with zoom and scroll capabilities.
50Compare