zoomable_photo 0.1.0
zoomable_photo: ^0.1.0 copied to clipboard
Zoomable photos and galleries for Flutter: pinch, double-tap and mouse-wheel zoom, momentum, and swiping between photos that works while zoomed.
0.1.0 #
- First version.
ZoomablePhoto: pinch, trackpad pinch and mouse-wheel zoom; double-tap to zoom in where you tap; drag to move a zoomed photo, with momentum when you flick it. The zoom stretches a little past its limits and springs back. Works with anyImageProvider, or any widget withZoomablePhoto.child.ZoomablePhotoController: read the zoom,zoomTo,zoomIn,zoomOutandreset.PhotoGallery: swipe between photos. While a photo is zoomed, dragging moves it, and at its edge the next drag turns the page. Optional looping, a gap between photos while swiping, arrow-key navigation, andPhotoGalleryController(next,previous,animateTo,jumpTo).- Loading and error builders,
heroTagfor Hero animations, and asemanticLabelfor screen readers. - No dependencies, and no
package:flutter/material.dart: works in Material, Cupertino and plain-widget apps.
