widget_zoom
0.0.4, released 3 years ago by appinio.app
Widget that adds pinch‑to‑zoom and fullscreen zoom to any child widget.
WASM-readyQuiet but busy
What it does
Provides pinch‑to‑zoom on the embedded view and a tap‑to‑fullscreen mode with zoom, pan, double‑tap and swipe‑down to dismiss. It uses a Hero animation for smooth transitions.
AI-written summary of version 0.0.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need simple zoom functionality for images or other widgets
- You want a quick fullscreen preview with zoom without building custom gestures
- You prefer a lightweight solution with minimal setup
Skip it when
- You require a gallery or carousel with multiple zoomable items
- You need highly custom zoom gestures or advanced animation control
- You need support for non‑image widgets beyond the planned future feature
Strengths
- Very easy to integrate – just wrap your widget
- Supports both embedded pinch‑to‑zoom and fullscreen mode
- Provides Hero transition and double‑tap zoom out of the box
Weaknesses
- Only works with a single widget at a time
- Limited customization of gestures and UI
- Zoom on arbitrary widgets is not yet supported
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
WidgetZoom(
heroAnimationTag: 'tag',
zoomWidget: Image.network(
'https://i.picsum.photos/id/1076/1000/800.jpg?hmac=Dlz3UOB04NkIUuAcoyNPNP_uRbjWK9FSoHfy4i04yWI',
),
);Alternatives
Packages that do the same job and could replace widget_zoom.
- animated_snack_bar
Show beautiful animated snackbars using overlays with customizable positions and types.
50Compare