photo_view 0.0.4

outdated Dart 2 incompatible

A simple zoomable image widget for Flutter.

Flutter Photo View Build Status - Travis #

A simple zoomable image widget for Flutter

PhotoView is useful in full screen exibition cases.

Resolves a image provider and show the result with useful gestures support, such as pinch to zoom and pan.


  • [x] Scale on doubleTap
  • [x] Zoom when pinched
  • [x] Respect screen and image boundaries
  • [x] Center image when zooming out
  • [x] Add image zoom limits (minScale an maxScale)
  • [x] Add GIF support
  • [ ] Multiple image support (Gallery mode)
  • [ ] Rotate gesture rotates image (Work in progress)

Pull requests are welcome 😊.

Sample code #

Given a ImageProvider imageProvider (such as AssetImage or NetworkImage):

Widget build(BuildContext context) {
  return new Container(
    child: new PhotoView(
      imageProvider: imageProvider
Simple ImageGIF
In actionIn action


For more information about how to use Photo View, check the API Docs