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.
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.
- image_cropper
A Flutter plugin for Android, iOS and Web supports cropping images
84Compare - image_picker_ios
iOS implementation of the image_picker plugin.
81Compare - image_picker_android
Android implementation of the image_picker plugin for selecting photos and videos.
81Compare - image_picker_windows
Windows implementation of image_picker for selecting images and videos
70Compare
Works with
Packages commonly used together with photo_opener: ones it builds on, ones built on it, and its own family.
- cached_network_imagephoto_opener depends on itLoad and cache network images in Flutter with placeholder and error widget support.
- photo_viewphoto_opener depends on itPhoto View provides a gesture sensitive zoomable widget. Photo View is largely used to show interactive images and other stuff such as SVG.