PackageTrack
Sign in Get early access

before_after_slider

Compare before/after images or widgets with a smooth draggable divider, pinch zoom, pan, and customizable overlay UI.

3.1.0 IgorShahin/before_after_slider

What this package is like to depend on

Last release 6 months ago

23 Feb 2026

Too new to tell

only 2 release windows

Most releases are documented

notes for 5 of 6 stable releases

Nothing withdrawn

no release was ever pulled

6 months old

6 releases · first in 2026

6 releases in the last 12 months

see the full history below

Release timeline

6 releases · Feb 2026 to Feb 2026
Release Pre-release

Releases

latest 6
  1. 3.1.0 23 Feb 2026
    Release notes
    • Added SliderOrientation support (horizontal / vertical).
    • Improved gesture/render performance in slider and zoom paths.
    • Improved pinch responsiveness during active scale gesture.
    • Optimized showcase rebuild behavior and simplified showcase controls.
    Open source →
  2. 3.0.0 23 Feb 2026
    Release notes

    Breaking

    • BeforeAfter now uses grouped options:
      • interactionOptions
      • zoomOptions
      • labelsOptions
      • overlayOptions
    • Removed legacy top-level params (enableProgressWithTouch, enableZoom, overlayStyle, legacy labels/overlay params, fixedLabels).

    Added

    • Desktop/web pointer cursor customization.
    • autoViewportAspectRatioFromImage when viewportAspectRatio is not provided.
    • Integration tests and drag/zoom benchmark scenarios (example/integration_test).

    Fixed

    • Slider drag conflict while panning zoomed content.
    • Pan bounds clamping to avoid visible blank background.
    • Desktop/web pointer zoom consistency.

    Performance

    • Reduced gesture/render rebuild pressure on hot paths.
    • Optimized image stream reuse for auto viewport ratio flow.

    Migration

    • Upgrade notes: see README.md (Migration section).
    Open source →
  3. 2.0.0 15 Feb 2026
    Release notes
    • BREAKING: removed BeforeAfterImage and BeforeAfterLayout.
    • BREAKING: BeforeAfter is now the single public widget API:
      • BeforeAfter(beforeChild: ..., afterChild: ...)
    • BREAKING: removed direct beforeLabel and afterLabel params.
      • Use beforeLabelBuilder and afterLabelBuilder.
    • Inlined comparison implementation into BeforeAfter and removed extra wrapper/core layers.
    • Updated docs and examples for the new API.
    Open source →
  4. 1.1.0 15 Feb 2026
    Release notes
    • Added beforeLabelBuilder and afterLabelBuilder for custom label widgets.
    • Added a new labels demo tab in the example app.
    • Improved rendering performance with repaint isolation and progress notifier updates.
    • Optimized clipping and zoom/pan update flow for smoother interactions.
    Open source →
  5. 1.0.1 14 Feb 2026
    Release notes
    • Fix version alignment between CHANGELOG and pubspec.
    Open source →
  6. 1.0.0 14 Feb 2026

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive