PhotoView basics

The default Image widget which comes with Flutter is perfect for simple images which need to be only displayed. PhotoView is here for you if the Image widget just doesn't cut it anymore.

Just like Image, PhotoView can work with Network, Asset, or any other kind of ImageProvider. In addition to that, users of the app can zoom in on an image and rotate it. The library also provides a convenient way to display a loading indicator while the image is being fetched.

What follows, is the most basic usage of a PhotoView which can be scaled across the whole screen.