# xsahil03x/before_after

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

Repository: https://github.com/xsahil03x/before_after
Canonical: https://ross.abutalabs.com/products/before_after
Homepage: https://pub.dev/packages/before_after
Language: Dart
License: MIT
License Family: permissive
Topics: flutter, slider, before-after, dart, hacktoberfest, flutter-package
Last push: 2024-11-16T16:09:42+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2606, "days_push": 655, "days_rel": 655, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1034, forks 109 (observed 2026-08-28T04:03:18.681467+00:00)

## What it is
A Flutter package providing a BeforeAfter widget that displays the difference between two images via a draggable slider. It is 100% Dart, supports horizontal/vertical slider directions, and offers extensive customization of the track, thumb, and callbacks.

## Use cases
- show before and after photo comparison in a flutter app
- add an image comparison slider widget to flutter
- compare edited vs original images with a draggable slider
- display image diff with vertical or horizontal swipe
- build a photo retouching before/after preview in dart
- customize slider thumb and track for image comparison

## When to choose
- you are building a Flutter app and need a polished before/after image comparison widget
- you want a pure-Dart solution with customizable slider direction, thumb, and track styling
- you need cross-platform support including mobile, desktop, and web

## When to avoid
- you need image diffing or pixel-level comparison analysis rather than a visual slider
- your project is not Flutter/Dart based
- you need a package under active development with frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, image-processing
- domain: frontend, mobile-development, image-processing, cross-platform
- platform: windows, cross-platform
- tags: flutter, flutter-package, dart, image-comparison, before-after-slider, image-slider, widget, android, ios, macos, linux, web-server

## Member repositories
- xsahil03x/before_after (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:18.681467+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:06:36.672519+00:00, confidence not recorded.
  - readme: https://github.com/xsahil03x/before_after (fetched 2026-08-28T04:03:18.681467+00:00, sha dfa0d9c7e913)
  - homepage: https://pub.dev/packages/before_after (fetched 2026-08-29T13:06:06.587909+00:00, sha a1cf88071ccc)
  - site_page: https://pub.dev/packages/before_after/install (fetched 2026-08-29T13:06:06.599138+00:00, sha 05b98f6e413d)
  - site_page: https://pub.dev/documentation/before_after/latest (fetched 2026-08-29T13:06:06.600988+00:00, sha 5afd88f21a7b)
  - site_page: https://pub.dev/packages/before_after/changelog (fetched 2026-08-29T13:06:06.597037+00:00, sha bb0dc605bbac)
- Data as of 2026-08-30T08:39:29.467469+00:00.
