zoom_widget
2.0.1, released 4 years ago by nairda.com.mx
A Flutter widget to create a customizable canvas with zoom and scroll capabilities.
What it does
Provides a Zoom widget that wraps any child to allow users to zoom in and out, scroll across a modifiable canvas size, and listen to position or scale updates.
AI-written summary of version 2.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to allow users to zoom in on a canvas, image, or custom UI layout.
- You require customizable scrollbars, background colors, and zoom sensitivity for a contained view.
Skip it when
- You are building a standard scrollable list or grid where zooming is not required.
Strengths
- Supports customizable max zoom width and height, scrollbars, and background colors.
- Provides callbacks for position and scale updates.
- Includes double-tap zoom support.
Weaknesses
- Relies on specific custom widgets instead of standard interactive viewer paradigms if advanced gesture control is needed.
- Some older configuration properties are deprecated.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Zoom(
maxZoomWidth: 1800,
maxZoomHeight: 1800,
child: Center(
child: Text("Happy zoom!!"),
),
);Alternatives
Packages that do the same job and could replace zoom_widget.
- vyuh_diagram_flutter
Flutter canvas for diagrams with pan, zoom, selection and theming
79Compare - glassmorphism
Create glassmorphic frosted glass containers with backdrop blur and gradient borders.
77Compare - diagram_editor
Flutter library for building interactive diagram editors with pan, zoom, and link support
61Compare - pinch_zoom
Widget that adds pinch‑to‑zoom with automatic reset on release for images or video.
60Compare
Works with
Packages commonly used together with zoom_widget: ones it builds on, ones built on it, and its own family.