Skip to content
pubscout

swipe_image_gallery

0.11.0, released a year ago by dbilgin.com

A scrollable, dismissable by swiping, zoomable gallery widget with dynamic overlays.

WASM-ready
$ flutter pub add swipe_image_gallery
Source repository

What it does

Provides a scrollable and zoomable image or widget gallery that can be dismissed by swiping. It supports custom item builders, dynamic overlays, hero animations, and vertical scrolling.

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

Use it when

  • You need a zoomable and swipe-dismissible image viewer modal or screen.
  • You want to display a gallery of images or custom widgets with hero animations and dynamic overlays.

Skip it when

  • You need a simple inline grid view rather than a full gallery modal/viewer.
  • You require complex image caching and loading features out of the box without providing custom widgets.

Strengths

  • Supports zoom, pan, and swipe-to-dismiss interactions.
  • Allows custom item builders and dynamic overlays.
  • Supports Hero animations for seamless transitions.

Weaknesses

  • Lacks built-in advanced image caching and placeholder management compared to dedicated image packages.
  • Dependent on the developer supplying network image widgets or builders.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
SwipeImageGallery(
  context: context,
  children: const [
    Image(image: AssetImage('assets/1.jpeg')),
    Image(image: AssetImage('assets/2.jpeg')),
  ],
).show();

Alternatives

Packages that do the same job and could replace swipe_image_gallery.

  • photo_view

    Pick photo_view if you need specialized standalone zoomable and pannable image widgets.

  • cached_network_image

    Pick cached_network_image if your main requirement is loading and caching images from URLs rather than specifically a swipe gallery modal.