This flutter package makes easier to display the differences between two images..
Source code is 100% Dart, and everything resides in the /lib folder.
Live Demo: https://xsahil03x.github.io/before_after
In the dependencies:
section of your pubspec.yaml
, add the following line:
dependencies:
zoomify_fusion: <latest version>
import 'package:zoomify_fusion/zoomify_fusion.dart';
ZoomifyFusion(
beforeImage: 'assets/after.jpg',
afterImage: 'assets/before.jpg',
needleImage: 'assets/needle_arrow.png',
),