Skip to content
pubscout

image_compare_slider

3.2.0, released 5 months ago by an unverified publisher

Compare two images with a slider, handle, zoom, pan, and rotation.

WASM-ready
$ flutter pub add image_compare_slider
Source repository

What it does

Provides a widget to easily compare two images using a slider with a draggable line and handle. Supports custom line styles, zooming, panning, rotation, and size matching.

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

Use it when

  • You need to visually compare two images side-by-side or overlaid with a slider.
  • Users need to zoom, pan, or rotate the compared images synchronously.

Skip it when

  • You are not comparing images.
  • You need complex multi-image carousels or image galleries without comparison features.

Strengths

  • Supports zoom, pan, and rotation with an optional controller.
  • Highly customizable handles, divider lines, and builders for wrapper effects.
  • Handles different image sizes and aspect ratios automatically.

Weaknesses

  • Limited strictly to comparing two images.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

No native permissions or special configuration needed.

ImageCompareSlider(
  itemOne: const Image.asset('assets/image_one.png'),
  itemTwo: const Image.network('https://example.com/image_two.png'),
)

Alternatives

Packages that do the same job and could replace image_compare_slider.