photo_opener 0.2.9
photo_opener: ^0.2.9 copied to clipboard
Telegram-style full-screen image viewer for Flutter. Pinch to zoom, swipe between images, thumbnails, swipe-down to dismiss. Supports network, assets, and local files.
0.2.9 - 2026-03-22 #
Added #
- Web platform support with conditional imports (no dart:io on web)
- Installation and Quick Start sections in README
- Platform support table and improved pub.dev documentation
Fixed #
- Web compatibility: use
io_stub/io_iofor Platform and File - Screen util fallback when width/height not yet initialized
- Example app structure (proper pubspec, lib/main.dart)
- README examples (type: PhotoType, remove debug print, fix MaterialApp)
Changed #
- Exclude gif/ from published package via .pubignore (reduces package size)
0.2.8 - 2026-02-18 #
Added #
Introduce PhotoType and support local file images
- Add
PhotoTypeenum withnetwork,asset, andfileoptions for better type safety. - Replace
isNetworkboolean withtypeparameter inonOpenPhoto. - Implement support for
FileImageandImage.fileto allow viewing local device images. - Update
imageProviderlogic inPhotoViewGalleryPageOptionsto handle all supported photo types. - Refactor image loading in the thumbnail preview list to support
PhotoType.
0.2.7 - 2026-02-03 #
Added #
- Support for an optional httpHeaders parameter to pass headers for network images downloading.
- Support for an optional onErrorWidget parameter to show a custom widget when image loading fails.
Improved #
- Showing hints in the documentation on how to use Bearer Token for authorization.
- Replace NetworkImageProvider with CachedNetworkImageProvider to improve network images loading.
- Use Picsum images in the example for network images.
Fixed #
- Fix the issue with No MaterialLocalizations found. with example/example.dart
0.2.3 - 2025-08-12 #
Added #
- Support for opening images from both assets and network URLs.
- Smooth zoom and pan gestures similar to Telegram.
- Swipe down to close feature for a natural user experience.
Improved #
- Performance optimizations for large image loading.
- Better caching with
cached_network_imagepackage.
Fixed #
- Minor bug fixes and UI improvements.