before_after_slider 2.0.0 copy "before_after_slider: ^2.0.0" to clipboard
before_after_slider: ^2.0.0 copied to clipboard

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

2.0.0 #

  • 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.

1.1.0 #

  • 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.

1.0.1 #

  • Fix version alignment between CHANGELOG and pubspec.

0.0.1 #

  • First release
1
likes
160
points
314
downloads

Publisher

verified publisherbytecabins.com

Weekly Downloads

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

Repository (GitHub)
View/report issues

Topics

#image-comparison #before-after #slider #zoom #pan

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on before_after_slider