compare_image_slider 0.0.1
compare_image_slider: ^0.0.1 copied to clipboard
The CompareImageSlider package is a Flutter widget that provides an interactive image comparison slider. It allows users to compare two images by dragging a slider horizontally, revealing portions of [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add compare_image_sliderThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
compare_image_slider: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:compare_image_slider/compare_image_slider.dart';