before_after_slider 2.0.0
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
BeforeAfterImageandBeforeAfterLayout. - BREAKING:
BeforeAfteris now the single public widget API:BeforeAfter(beforeChild: ..., afterChild: ...)
- BREAKING: removed direct
beforeLabelandafterLabelparams.- Use
beforeLabelBuilderandafterLabelBuilder.
- Use
- Inlined comparison implementation into
BeforeAfterand removed extra wrapper/core layers. - Updated docs and examples for the new API.
1.1.0 #
- Added
beforeLabelBuilderandafterLabelBuilderfor 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