Skip to main content

zoomable_photo 0.1.0 copy "zoomable_photo: ^0.1.0" to clipboard
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 any ImageProvider, or any widget with ZoomablePhoto.child.
  • ZoomablePhotoController: read the zoom, zoomTo, zoomIn, zoomOut and reset.
  • 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, and PhotoGalleryController (next, previous, animateTo, jumpTo).
  • Loading and error builders, heroTag for Hero animations, and a semanticLabel for screen readers.
  • No dependencies, and no package:flutter/material.dart: works in Material, Cupertino and plain-widget apps.
0
likes
160
points
0
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Zoomable photos and galleries for Flutter: pinch, double-tap and mouse-wheel zoom, momentum, and swiping between photos that works while zoomed.

Repository (GitHub)
View/report issues

Topics

#image #photo #zoom #gallery #gestures

License

MIT (license)

Dependencies

flutter

More

Packages that depend on zoomable_photo