Skip to content
pubscout

photo_opener

0.3.2, released 6 months ago by leadme.uz

Telegram-style full-screen image viewer with pinch-to-zoom and swipe gestures.

WASM-ready
$ flutter pub add photo_opener
Source repository

What it does

Provides a full-screen image viewer with pinch-to-zoom, swipe-to-navigate gallery mode, thumbnails, and swipe-down-to-dismiss gestures. Supports network URLs, local assets, and device files.

AI-written summary of version 0.3.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display images in a full-screen gallery with zoom and swipe gestures
  • You want a Telegram-style image viewing experience with a single function call

Skip it when

  • You need inline image widgets inside custom scrolling layouts rather than a full-screen viewer
  • You need advanced image cropping or editing tools

Strengths

  • Supports network, asset, and local file images
  • Smooth pinch-to-zoom and swipe gestures out of the box
  • Customizable UI components like headers, footers, error widgets, and headers for authentication

Weaknesses

  • Local files are not supported on the web platform

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2
onOpenPhoto(
  context: context,
  images: [
    'https://picsum.photos/id/1/1024/768',
    'https://picsum.photos/id/2/1024/768',
  ],
  type: PhotoType.network,
);

Alternatives

Packages that do the same job and could replace photo_opener.

Works with

Packages commonly used together with photo_opener: ones it builds on, ones built on it, and its own family.