auto_zoom_reset 1.0.0
auto_zoom_reset: ^1.0.0 copied to clipboard
A Flutter package that provides an InteractiveViewer with automatic zoom reset functionality. Perfect for image galleries, product viewers, and any content that needs pinch-to-zoom with auto-reset behavior.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2024-08-18 #
Added #
- Initial release of AutoZoomReset widget
- Automatic zoom reset functionality with customizable timing
- Smooth reset animations with configurable curves and duration
- Optional zoom indicator showing current scale percentage
- Comprehensive callback system for zoom events
- SimpleAutoZoomReset widget for minimal configuration
- Support for custom scale limits and boundary constraints
- Full platform support (iOS, Android, Web, Desktop)
- Extensive documentation and examples
Features #
- 🔄 Automatic reset to original scale and position
- ⏱️ Customizable reset delay and animation duration
- 🎨 Multiple animation curves (easeInOut, bounceOut, elasticOut, etc.)
- 📊 Optional visual zoom percentage indicator
- 🎯 Flexible configuration options
- 📱 Optimized touch and gesture handling
- 🚀 Lightweight and performant implementation
- 📦 Easy integration as InteractiveViewer replacement
Documentation #
- Comprehensive README with usage examples
- API documentation for all public methods
- Best practices and use case guidelines
- Platform-specific implementation notes