PackageTrack
Sign in Get early access

before_after

A flutter package which makes it easier to display the difference between two images.

3.2.0 3.3K downloads/mo #4484 most downloaded on pub.dev xsahil03x/before_after

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 2 months to 2.7 years

Nearly every release is documented

notes for 9 of 9 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

9 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

9 releases · Jul 2019 to Nov 2024
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 9
  1. 3.2.0 16 Nov 2024
    Release notes

    What's Changed

    • feat: Update min flutter version to ^3.22.0 by @xsahil03x in #37

    Full Changelog: v3.1.0...v3.2.0

    Open source →
    Release notes
    • Increased the minimum Flutter version required to 3.22.0.
    Open source →
  2. 3.1.0 09 Jul 2024
    Release notes

    What's Changed

    Open source →
    Release notes
    • Migrated deprecated MaterialStateProperty to WidgetStateProperty.
    • Fixed widget.thumbColor not working. #34
    Open source →
  3. 3.0.0 08 Jul 2023
    Release notes

    🚨 Breaking

    Changes in the BeforeAfter widget:

    • Added support for different slider directions. The new direction property allows you to specify whether the slider
      can be dragged horizontally or vertically.
    • Renamed the beforeImage and afterImage properties to before and after, respectively, for better clarity.
    • Added the height and width properties to control the size of the BeforeAfter widget.
    • Added the trackWidth property to customize the width of the slider track.
    • Added the trackColor property to set the color of the slider track.
    • Added the hideThumb property to hide the slider thumb if needed.
    • Added the thumbHeight and thumbWidth properties to specify the size of the slider thumb.
    • Renamed the thumbColor property to thumbDecoration to allow more flexible customization using BoxDecoration.
    • Added the overlayColor property to set the color of the overlay when the thumb is interacted.
    • Added the divisions property to specify the number of discrete divisions on the slider.
    • Added the onValueChanged callback to handle changes in the slider value.
    • Added the thumbPosition property to set the initial position of the slider thumb.
    • Added the thumbDivisions property to specify the number of discrete divisions on the slider thumb.
    • Added the onThumbPositionChanged callback to handle changes in the thumb position.
    • Added support for custom mouse cursors using the mouseCursor property.
    • Added support for focus and autofocus using the focusNode and autofocus properties.

    New features:

    • Added the BeforeAfterTheme class to provide default theme values for the BeforeAfter widget.
    Open source →
    Release notes

    🚨 Breaking

    Changes in the BeforeAfter widget:

    • Added support for different slider directions. The new direction property allows you to specify whether the slider can be dragged horizontally or vertically.
    • Renamed the beforeImage and afterImage properties to before and after, respectively, for better clarity.
    • Added the height and width properties to control the size of the BeforeAfter widget.
    • Added the trackWidth property to customize the width of the slider track.
    • Added the trackColor property to set the color of the slider track.
    • Added the hideThumb property to hide the slider thumb if needed.
    • Added the thumbHeight and thumbWidth properties to specify the size of the slider thumb.
    • Renamed the thumbColor property to thumbDecoration to allow more flexible customization using BoxDecoration.
    • Added the overlayColor property to set the color of the overlay when the thumb is interacted.
    • Added the divisions property to specify the number of discrete divisions on the slider.
    • Added the onValueChanged callback to handle changes in the slider value.
    • Added the thumbPosition property to set the initial position of the slider thumb.
    • Added the thumbDivisions property to specify the number of discrete divisions on the slider thumb.
    • Added the onThumbPositionChanged callback to handle changes in the thumb position.
    • Added support for custom mouse cursors using the mouseCursor property.
    • Added support for focus and autofocus using the focusNode and autofocus properties.

    New features:

    • Added the BeforeAfterTheme class to provide default theme values for the BeforeAfter widget.
    Open source →
  4. 3.0.0+1 08 Jul 2023
    Release notes
    • Add live demo link to README.
    Open source →
  5. 2.1.0 07 Nov 2020
    Release notes
    • Added fix for Flutter 1.19.
    Open source →
  6. 2.0.1 20 Nov 2019
    Release notes

    Signed-off-by: xsahil03x [email protected]

    Open source →
    Release notes
    • Minor fixes.
    Open source →
  7. 2.0.0 03 Oct 2019
    Release notes
    • Added support for vertical sliders.
    Open source →
  8. 1.0.1 17 Jul 2019
    Release notes
    • Update Readme.
    Open source →
  9. 1.0.0 17 Jul 2019
    Release notes
    • Initial Release.
    Open source →

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