Search packages, repositories and app categories

insta_image_viewer cover
Package detailsv1.0.4

insta_image_viewer

A simple widget for full screen with swipe to dismiss, pinch & zoom.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
2.7K
Likes
143
Pub points
150

Install package

flutter pub add insta_image_viewer

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter widget designed for displaying images in full screen with intuitive gestures such as swipe to dismiss, pinch to zoom, and pan. Built for seamless image viewing experiences across multiple platforms, it supports Android, iOS, Web, macOS, Windows, and Linux. Ideal for apps requiring immersive photo browsing with minimal setup. The package is lightweight and easy to integrate, focusing on smooth performance and user-friendly interactions.

Use cases

  • Full-screen image viewing
  • Photo gallery navigation
  • Swipe-to-dismiss image modals
  • Pinch-to-zoom image exploration
  • Image sharing previews
  • Interactive image galleries

Key features

  • Swipe to dismiss
  • Pinch and zoom
  • Pan gesture support
  • Cross-platform compatibility
  • Simple integration
  • Responsive design

Suitable for

  • Mobile and web photo apps
  • Social media image viewers
  • E-commerce product image displays
  • User-generated content platforms
  • Apps with image-heavy interfaces

Considerations

  • Limited customization options
  • No built-in image caching
  • Requires manual image loading
  • Not optimized for large image collections
  • Depends on external image providers
  • Minimal animation effects

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

InstaImageViewer

A simple widget to display image in a full-screen, swipe it to dismiss, pinch & zoom.

InstaImageViewer Demo

Features

  • Show a single image in a full screen mode
  • Nice swipe animation (like in Instagram) to dismiss full screen mode
  • Use pinch & zoom to zoom in and out in a full screen mode
  • No dependencies besides Flutter

Usage

As easy as an image widget:

SizedBox(
  width: 100,
  height: 140,
  child: InstaImageViewer(
    child: Image(
      image: Image.network("https://picsum.photos/id/507/1000").image,
    ),
  ),
),

TODO:

  • Upon request: Possibility to wrap icons with path to large images. According current UI there is no need in in such functionality. But, in a long lists, it will lead to significant UI slowing down. So, if you need this functionality feel free to create an issue.
  • Improve animations

For any bugs, suggestions - please submit an issue.

Credits

InstaImageViewer is a project by Agoradesk, P2P cryptocurrency trading platform. Created by the team behind LocalMonero, the biggest and most trusted Monero P2P trading platform.

Categories

Source repository

Projects using this package