A Flutter widget enabling intuitive pinch-to-zoom functionality for images. When users pinch, the image scales and pans freely; upon release, it smoothly animates back to its original size and position. Designed for simplicity and responsiveness, it enhances user interaction with static images in apps like galleries, product viewers, or document readers. The widget handles touch gestures efficiently and maintains performance even on lower-end devices.
Use cases
- Image gallery zoom
- Product detail viewing
- Document or map exploration
- Interactive photo displays
- User-friendly image navigation
Key features
- Pinch-to-zoom gesture support
- Automatic return to initial state
- Smooth animation on release
- Lightweight and efficient
- Easy integration with existing UI
Suitable for
- Mobile app image viewers
- E-commerce product screens
- Educational or reference apps
- Simple interactive image components
- Apps requiring minimal gesture handling
Considerations
- Limited to single image interaction
- No built-in pan limits or boundaries
- Does not support multiple images simultaneously
- No customization for zoom speed or easing
- Best suited for full-screen or large image displays